chore: lots of changes #16
Annotations
10 errors
Run phpstan:
app/Http/Controllers/FavoriteController.php#L12
Method App\Http\Controllers\FavoriteController::update() has no return type specified.
|
Run phpstan:
app/Http/Controllers/SearchController.php#L35
Unreachable statement - code above always terminates.
|
Run phpstan:
app/Http/Middleware/Locale.php#L26
Access to an undefined property App\Models\User::$locale.
|
Run phpstan:
app/Http/ViewModels/Search/SearchViewModel.php#L12
Method Laravel\Scout\Builder::where() invoked with 3 parameters, 2 required.
|
Run phpstan:
app/Http/ViewModels/Search/SearchViewModel.php#L17
Parameter #1 $callback of method Illuminate\Database\Eloquent\Collection<(int|string),Illuminate\Database\Eloquent\Model>::map() expects callable(Illuminate\Database\Eloquent\Model, int|string): array{id: int, name: string, avatar: string, url: string}, Closure(App\Models\Name): array{id: int, name: string, avatar: string, url: string} given.
|
Run phpstan:
app/Jobs/ProcessSyllabes.php#L33
Property App\Models\Name::$syllabes (int) does not accept string|null.
|
Run phpstan:
app/Services/AddNameToList.php#L11
Property App\Services\AddNameToList::$list is unused.
|
Run phpstan:
app/Services/AddNameToList.php#L23
Access to an undefined property App\Services\AddNameToList::$user.
|
Run phpstan:
app/Services/AddNameToList.php#L28
Access to an undefined property App\Services\AddNameToList::$user.
|
Run phpstan:
app/Services/AddNameToList.php#L29
Access to an undefined property App\Services\AddNameToList::$email.
|
The logs for this run have expired and are no longer available.
Loading