Fix some findings from PHPStan level 6 #1373
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
3 errors
PHPStan:
src/Tree/Document/MongoDB/Repository/MaterializedPathRepository.php#L76
Method Gedmo\Tree\Document\MongoDB\Repository\MaterializedPathRepository::getRootNodes() should return array<int|string, object> but returns Doctrine\ODM\MongoDB\Iterator\Iterator.
|
PHPStan:
src/Tree/RepositoryUtils.php#L178
Method Gedmo\Tree\RepositoryUtils::buildTreeArray() should return array<int, array<string, mixed>> but returns array<int<0, max>, ArrayAccess>.
|
PHPStan
Process completed with exit code 1.
|