More PHPStan fixes #1303
Annotations
10 errors and 3 warnings
Lint
Ignored error pattern #^Parameter \#1 \$options of method Laravel\\Nova\\Fields\\Select\:\:options\(\) expects \(callable\(\)\: iterable\<int\|string, array\{label\: string, group\?\: string\}\|string\|Stringable\>\)\|iterable\<int\|string, array\{label\: string, group\?\: string\}\|string\|Stringable\>, array given\.$# was not matched in reported errors.
|
Lint
Ignored error pattern #Cannot call method members\(\) on App\\Models\\[a-zA-Z]+|Illuminate\\Database\\Eloquent\\Collection<int, App\\Models\\[a-zA-Z]+>\|null\.# was not matched in reported errors.
|
Lint
Ignored error pattern #Parameter \#1 \$callback of method Laravel\\Nova\\Fields\\FieldElement::hideFromDetail\(\) expects bool\|\(callable\(\): bool\), Closure\(Laravel\\Nova\\Http\\Requests\\NovaRequest, App\\Models\\User\): bool given\.# was not matched in reported errors.
|
Lint
Ignored error pattern #Parameter \#1 \$callback of method Laravel\\Nova\\Fields\\FieldElement::showOnDetail\(\) expects bool\|\(callable\(\): bool\), Closure\(Laravel\\Nova\\Http\\Requests\\NovaRequest, App\\Models\\Travel\): bool given\.# was not matched in reported errors.
|
Lint
Ignored error pattern #Parameter \#1 \$options of method Laravel\\Nova\\Fields\\BooleanGroup::options\(\) expects array\|\(Closure\(\): \(array\|Illuminate\\Support\\Collection\)\)\|Illuminate\\Support\\Collection, mixed given\.# was not matched in reported errors.
|
Lint
Ignored error pattern #Parameter \#1 \$trip_id of static method App\\Nova\\TravelAssignment::showItineraryOnForms\(\) expects int\|string\|null, mixed given\.# was not matched in reported errors.
|
Lint
Ignored error pattern #Parameter \#2 \$query \(Illuminate\\Database\\Eloquent\\Builder<App\\Models\\[a-zA-Z]+>\) of method App\\Nova\\[a-zA-Z]+::indexQuery\(\) should be contravariant with parameter \$query \(Illuminate\\Database\\Eloquent\\Builder\) of method Laravel\\Nova\\Resource<Illuminate\\Database\\Eloquent\\Model>::indexQuery\(\)# was not matched in reported errors.
|
Lint
Ignored error pattern #Parameter \#2 \$query \(Illuminate\\Database\\Eloquent\\Builder<App\\Models\\[a-zA-Z]+>\) of method App\\Nova\\[a-zA-Z]+::relatableQuery\(\) should be contravariant with parameter \$query \(Illuminate\\Database\\Eloquent\\Builder\) of method Laravel\\Nova\\Resource<Illuminate\\Database\\Eloquent\\Model>::relatableQuery\(\)# was not matched in reported errors.
|
Lint
Ignored error pattern #Parameter \#2 \$query \(Illuminate\\Database\\Eloquent\\Builder<App\\Models\\[a-zA-Z]+>\) of method App\\Nova\\Filters\\[a-zA-Z]+::apply\(\) should be contravariant with parameter \$query \(Illuminate\\Database\\Eloquent\\Builder\) of method Laravel\\Nova\\Contracts\\Filter::apply\(\)# was not matched in reported errors.
|
Lint
Ignored error pattern #Parameter \#2 \$query \(Illuminate\\Database\\Eloquent\\Builder<App\\Models\\[a-zA-Z]+>\) of method App\\Nova\\Filters\\[a-zA-Z]+::apply\(\) should be contravariant with parameter \$query \(Illuminate\\Database\\Eloquent\\Builder\) of method Laravel\\Nova\\Filters\\Filter::apply\(\)# was not matched in reported errors.
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Docker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
RoboJackets~apiary~GVWH5L.dockerbuild
|
75.6 KB |
|