Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed May 17, 2024
1 parent 49043fe commit d826cd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ActiveQueryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public function asArray(bool|null $value = true): static
* CustomerQuery->with('orders')->with('country')->all();
* ```
*
* @param array|string ...$with a list of relation names or relation definitions.
*
* @return static the query object itself.
*/
public function with(array|string ...$with): static

Check failure on line 80 in src/ActiveQueryTrait.php

View workflow job for this annotation

GitHub Actions / psalm (8.3, psalm83.xml) / PHP 8.3-ubuntu-latest

MoreSpecificImplementedParamType

src/ActiveQueryTrait.php:80:42: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\ActiveRecord\ActiveQueryTrait::with has the more specific type 'array<array-key, mixed>|string', expecting 'mixed' as defined by Yiisoft\ActiveRecord\ActiveQueryInterface::with (see https://psalm.dev/140)

Check failure on line 80 in src/ActiveQueryTrait.php

View workflow job for this annotation

GitHub Actions / psalm (8.2, psalm.xml) / PHP 8.2-ubuntu-latest

MoreSpecificImplementedParamType

src/ActiveQueryTrait.php:80:42: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\ActiveRecord\ActiveQueryTrait::with has the more specific type 'array<array-key, mixed>|string', expecting 'mixed' as defined by Yiisoft\ActiveRecord\ActiveQueryInterface::with (see https://psalm.dev/140)

Check failure on line 80 in src/ActiveQueryTrait.php

View workflow job for this annotation

GitHub Actions / psalm (8.1, psalm.xml) / PHP 8.1-ubuntu-latest

MoreSpecificImplementedParamType

src/ActiveQueryTrait.php:80:42: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\ActiveRecord\ActiveQueryTrait::with has the more specific type 'array<array-key, mixed>|string', expecting 'mixed' as defined by Yiisoft\ActiveRecord\ActiveQueryInterface::with (see https://psalm.dev/140)

Check failure on line 80 in src/ActiveQueryTrait.php

View workflow job for this annotation

GitHub Actions / psalm (8.2, psalm.xml) / PHP 8.2-ubuntu-latest

MoreSpecificImplementedParamType

src/ActiveQueryTrait.php:80:42: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\ActiveRecord\ActiveQueryTrait::with has the more specific type 'array<array-key, mixed>|string', expecting 'mixed' as defined by Yiisoft\ActiveRecord\ActiveQueryInterface::with (see https://psalm.dev/140)

Check failure on line 80 in src/ActiveQueryTrait.php

View workflow job for this annotation

GitHub Actions / psalm (8.1, psalm.xml) / PHP 8.1-ubuntu-latest

MoreSpecificImplementedParamType

src/ActiveQueryTrait.php:80:42: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\ActiveRecord\ActiveQueryTrait::with has the more specific type 'array<array-key, mixed>|string', expecting 'mixed' as defined by Yiisoft\ActiveRecord\ActiveQueryInterface::with (see https://psalm.dev/140)

Check failure on line 80 in src/ActiveQueryTrait.php

View workflow job for this annotation

GitHub Actions / psalm (8.3, psalm83.xml) / PHP 8.3-ubuntu-latest

MoreSpecificImplementedParamType

src/ActiveQueryTrait.php:80:42: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\ActiveRecord\ActiveQueryTrait::with has the more specific type 'array<array-key, mixed>|string', expecting 'mixed' as defined by Yiisoft\ActiveRecord\ActiveQueryInterface::with (see https://psalm.dev/140)
Expand Down

0 comments on commit d826cd3

Please sign in to comment.