File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 23
23
},
24
24
"require-dev" : {
25
25
"friendsofphp/php-cs-fixer" : " ^3.9.5" ,
26
- "larastan/larastan" : " ^2.9" ,
26
+ "larastan/larastan" : " ^2.9|^3.1 " ,
27
27
"orchestra/testbench" : " ^7.0|^8.0|^9.0|^10.0" ,
28
28
"phpstan/phpstan" : " ^1.10|^2.1" ,
29
29
"phpstan/phpstan-phpunit" : " ^1.3|^2.0" ,
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ parameters:
9
9
- src
10
10
- tests
11
11
ignoreErrors:
12
+ - identifier: method.alreadyNarrowedType
12
13
- identifier: missingType.iterableValue
13
14
-
14
15
message: "#^Cannot access offset '[a-z.]+' on Illuminate\\\\Contracts\\\\Container\\\\Container.$#"
Original file line number Diff line number Diff line change 6
6
7
7
/**
8
8
* @method static array barcode(string $value)
9
- * @method static \Illuminate\Support\Collection find(string $searchTerm)
9
+ * @method static \Illuminate\Support\Collection<int, array> find(string $searchTerm)
10
10
* @method static \OpenFoodFacts\Document getProduct(string $barcode)
11
11
*
12
12
* @see \OpenFoodFacts\Laravel\OpenFoodFacts
You can’t perform that action at this time.
0 commit comments