Skip to content

Commit

Permalink
Fix psalm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Apr 30, 2024
1 parent c449f50 commit fd89367
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ActiveQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ final public function __construct(
* @throws InvalidConfigException
* @throws Throwable
*
* @return array The query results. If the query results in nothing, an empty array will be returned.
*
* @psalm-return ActiveRecord[]|array
* @psalm-suppress ImplementedReturnTypeMismatch
* @return ActiveRecordInterface[] The query results. If the query results in nothing, an empty array will be returned.
*/
public function all(): array
{
Expand Down

0 comments on commit fd89367

Please sign in to comment.