Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Sep 3, 2023
1 parent ffdc32c commit cd30b6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Mapping/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface Driver
* Read the extended metadata configuration for a single mapped class.
*
* @param ClassMetadata&(OdmClassMetadata|OrmClassMetadata) $meta
* @param array<string, mixed> $config
* @param array<string, mixed> $config
*
* @return void
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getRootNodesQuery($sortByField = null, $direction = 'asc')

public function getRootNodes($sortByField = null, $direction = 'asc')
{
return $this->getRootNodesQuery($sortByField, $direction)->getIterator()->toArray();
return $this->getRootNodesQuery($sortByField, $direction)->getIterator();
}

public function childCount($node = null, $direct = false)
Expand Down
2 changes: 1 addition & 1 deletion src/Tree/RepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface RepositoryInterface extends RepositoryUtilsInterface
* @param string $sortByField
* @param string $direction
*
* @return array<int|string, object>
* @return iterable<int|string, object>
*/
public function getRootNodes($sortByField = null, $direction = 'asc');

Expand Down

0 comments on commit cd30b6d

Please sign in to comment.