Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed "Attempt to read property on array" error in ArrayDataSource #1169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vvoody-
Copy link
Contributor

@vvoody- vvoody- commented Mar 14, 2025

This is fixing failing test ArrayDataSourceTest.phpt

E_WARNING: Attempt to read property "name" on array

   in src/DataSource/ArrayDataSource.php(119)
   in src/DataSource/ArrayDataSource.php(119) Tester\TestCase->{closure:Tester\TestCase::runTest():103}()
   in Cases/DataSources/BaseDataSourceTest.phpt(182) Contributte\Datagrid\DataSource\ArrayDataSource->sort()
   in src/Framework/TestCase.php(130) Contributte\Datagrid\Tests\Cases\DataSources\BaseDataSourceTest->testSort()
   in src/Framework/TestCase.php(58) Tester\TestCase->runTest()
   in Cases/DataSources/ArrayDataSourceTest.phpt(23) Tester\TestCase->run()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant