chore: lots of changes #16
Annotations
10 errors
phpstan:
app/Http/Controllers/FavoriteController.php#L12
Method App\Http\Controllers\FavoriteController::update() has no return type specified.
|
phpstan:
app/Http/Controllers/SearchController.php#L35
Unreachable statement - code above always terminates.
|
phpstan:
app/Http/Middleware/Locale.php#L26
Access to an undefined property App\Models\User::$locale.
|
phpstan:
app/Http/ViewModels/Search/SearchViewModel.php#L12
Method Laravel\Scout\Builder::where() invoked with 3 parameters, 2 required.
|
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.
|
phpstan:
app/Jobs/ProcessSyllabes.php#L33
Property App\Models\Name::$syllabes (int) does not accept string|null.
|
phpstan:
app/Services/AddNameToList.php#L11
Property App\Services\AddNameToList::$list is unused.
|
phpstan:
app/Services/AddNameToList.php#L23
Access to an undefined property App\Services\AddNameToList::$user.
|
phpstan:
app/Services/AddNameToList.php#L28
Access to an undefined property App\Services\AddNameToList::$user.
|
phpstan:
app/Services/AddNameToList.php#L29
Access to an undefined property App\Services\AddNameToList::$email.
|