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 {