Skip to content

Commit

Permalink
Improve phpdoc (#7790)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Apr 20, 2022
1 parent 9429892 commit e6eefc2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Model/ModelManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,11 @@ public function reverseTransform(object $object, array $array = []): void;
public function supportsQuery(object $query): bool;

/**
* @return array<object>|\Traversable<object>
* NEXT_MAJOR: Add typehint.
*
* @phpstan-return array<T>|\Traversable<T>
* @return iterable<object>
*
* @phpstan-return iterable<T>
*/
public function executeQuery(object $query);

Expand Down

0 comments on commit e6eefc2

Please sign in to comment.