From fd8936730d27b98d6e1e0eb3463148984e48c7c7 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Tue, 30 Apr 2024 16:05:23 +0700 Subject: [PATCH] Fix psalm issue --- src/ActiveQuery.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ActiveQuery.php b/src/ActiveQuery.php index 23ea9ea53..73f958f27 100644 --- a/src/ActiveQuery.php +++ b/src/ActiveQuery.php @@ -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 {