Skip to content

Commit

Permalink
Merge pull request #166 from oliverklee/task/list
Browse files Browse the repository at this point in the history
[TASK] Use `list` whereever possible
  • Loading branch information
sascha-egerer committed Jul 25, 2024
2 parents a7549f5 + 39849fa commit 4fcc87d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions stubs/ObjectStorage.stub
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ class ObjectStorage implements \Iterator, \ArrayAccess
public function key();

/**
* @return array<TEntity>
* @return list<TEntity>
*/
public function toArray();

/**
* @return array<TEntity>
* @return list<TEntity>
*/
public function getArray();

Expand Down
2 changes: 1 addition & 1 deletion stubs/QueryResultInterface.stub
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface QueryResultInterface extends \Countable, \Iterator, \ArrayAccess
public function getFirst();

/**
* @return ModelType[]
* @return list<ModelType>
*/
public function toArray();
}

0 comments on commit 4fcc87d

Please sign in to comment.