Skip to content

Conversation

@yajra
Copy link
Owner

@yajra yajra commented Nov 28, 2025

  • Fix invalid array key type in CollectionDataTable::revertIndexColumn()
  • Fix invalid array key type in DataTableAbstract::with()
  • Fix instanceof and array key type issues in DataTables::make()
  • Fix invalid array key type in DataProcessor::process()
  • Fix invalid array key types in Helper::includeInArray()

All fixes ensure array keys are properly typed as int|string to satisfy PHPStan's strict type checking.

yajra and others added 3 commits November 28, 2025 15:27
- Fix invalid array key type in CollectionDataTable::revertIndexColumn()
- Fix invalid array key type in DataTableAbstract::with()
- Fix instanceof and array key type issues in DataTables::make()
- Fix invalid array key type in DataProcessor::process()
- Fix invalid array key types in Helper::includeInArray()

All fixes ensure array keys are properly typed as int|string to satisfy PHPStan's strict type checking.
- Updated multiple instances in CollectionDataTable, DataTables, DataProcessor, and Helper classes to use the Config facade for retrieving configuration values.
- This change enhances consistency and aligns with best practices for configuration management in Laravel.
@sonarqubecloud
Copy link

@yajra yajra merged commit acd1e99 into master Nov 28, 2025
8 checks passed
@yajra yajra deleted the fix/phpstan-errors branch November 28, 2025 07:40
@yajra
Copy link
Owner Author

yajra commented Dec 2, 2025

🎉 This PR is included in version 12.6.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@yajra yajra added the released label Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants