More PHPStan fixes #1302
Annotations
10 errors and 3 warnings
Lint:
app/Nova/Filters/DateFrom.php#L22
Parameter #2 $query (Illuminate\Database\Eloquent\Builder) of method App\Nova\Filters\DateFrom::apply() should be contravariant with parameter $query (Illuminate\Contracts\Database\Eloquent\Builder) of method Laravel\Nova\Filters\Filter::apply()
|
Lint:
app/Nova/Filters/DateTo.php#L22
Parameter #2 $query (Illuminate\Database\Eloquent\Builder) of method App\Nova\Filters\DateTo::apply() should be contravariant with parameter $query (Illuminate\Contracts\Database\Eloquent\Builder) of method Laravel\Nova\Filters\Filter::apply()
|
Lint:
app/Nova/Travel.php#L206
Parameter #1 $callback of method Laravel\Nova\Fields\FieldElement::showOnDetail() expects bool|(callable(Laravel\Nova\Http\Requests\NovaRequest, mixed): bool), Closure(Laravel\Nova\Http\Requests\NovaRequest, App\Models\Travel): bool given.
|
Lint:
app/Nova/Travel.php#L246
Parameter #1 $max of method Laravel\Nova\Fields\Number::max() expects float|int|string|null, mixed given.
|
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
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~F4FURI.dockerbuild
|
151 KB |
|