Skip to content

(Add) Block users system #3657

(Add) Block users system

(Add) Block users system #3657

Triggered via pull request November 6, 2024 08:52
Status Failure
Total duration 2m 56s
Artifacts

larastan.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

5 errors
php 8.3 on ubuntu-22.04: app/Models/User.php#L209
Class App\Models\BlockedUsers not found.
php 8.3 on ubuntu-22.04: app/Models/User.php#L209
Method App\Models\User::blockedUsers() should return Illuminate\Database\Eloquent\Relations\BelongsToMany<App\Models\User, $this(App\Models\User)> but returns Illuminate\Database\Eloquent\Relations\BelongsToMany<App\Models\BlockedUsers, $this(App\Models\User)>.
php 8.3 on ubuntu-22.04: app/Models/User.php#L209
Parameter #1 $related of method Illuminate\Database\Eloquent\Model::belongsToMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
php 8.3 on ubuntu-22.04: app/Models/User.php#L209
Unable to resolve the template type TRelatedModel in call to method Illuminate\Database\Eloquent\Model::belongsToMany()
php 8.3 on ubuntu-22.04
Process completed with exit code 1.