Skip to content

Commit

Permalink
Remove Countable from execute return type
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored and jordisala1991 committed May 2, 2021
1 parent 495bcb8 commit 0fbbe26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Datagrid/ProxyQueryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface ProxyQueryInterface
public function __call($name, $args);

/**
* @return array<object>|(\Traversable<object>&\Countable)
* @return array<object>|\Traversable<object>
*/
public function execute();

Expand Down
4 changes: 2 additions & 2 deletions src/Model/ModelManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ public function modelTransform($class, $instance);
/**
* @param object $query
*
* @return array<object>|(\Traversable<object>&\Countable)
* @return array<object>|\Traversable<object>
*
* @phpstan-return array<T>|(\Traversable<T>&\Countable)
* @phpstan-return array<T>|\Traversable<T>
*/
public function executeQuery($query);

Expand Down

0 comments on commit 0fbbe26

Please sign in to comment.