Skip to content

Update FilamentMailsServiceProvider.php #63

Update FilamentMailsServiceProvider.php

Update FilamentMailsServiceProvider.php #63

Triggered via push October 30, 2024 15:53
Status Failure
Total duration 1m 7s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Resources/EventResource.php#L219
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
phpstan: src/Resources/EventResource/Pages/ListEvents.php#L78
Method Vormkracht10\FilamentMails\Resources\EventResource\Pages\ListEvents::getHeaderWidgets() should return array<class-string<Filament\Widgets\Widget>|Filament\Widgets\WidgetConfiguration> but returns array{'App\\Filament\\Widgets\\MailsPerStatusChart'}.
phpstan: src/Resources/EventResource/Pages/ListEvents.php#L79
Class App\Filament\Widgets\MailsPerStatusChart not found.
phpstan: src/Resources/MailResource.php#L176
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
phpstan: src/Resources/MailResource.php#L194
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
phpstan: src/Resources/MailResource.php#L364
Else branch is unreachable because ternary operator condition is always true.
phpstan: src/Resources/MailResource.php#L365
Else branch is unreachable because ternary operator condition is always true.
phpstan: src/Resources/MailResource.php#L428
Strict comparison using === between mixed and null will always evaluate to false.
phpstan: src/Resources/MailResource/Pages/ListMails.php#L40
Call to an undefined method Illuminate\Database\Eloquent\Builder::sent().
phpstan: src/Resources/MailResource/Pages/ListMails.php#L47
Call to an undefined method Illuminate\Database\Eloquent\Builder::delivered().