EscolaLMS/Consultations

View on GitHub
src/Models/User.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Class extends undeclared class \EscolaLms\Auth\Models\User (Did you mean class \EscolaLms\Consultations\Models\User)
Open

class User extends AuthUser
Severity: Critical
Found in src/Models/User.php by phan

Call to undeclared method \EscolaLms\Consultations\Models\User::belongsToMany
Open

        return $this->belongsToMany(Category::class, 'category_user');
Severity: Critical
Found in src/Models/User.php by phan

Reference to constant class from undeclared class \EscolaLms\Categories\Models\Category
Open

        return $this->belongsToMany(Category::class, 'category_user');
Severity: Critical
Found in src/Models/User.php by phan

Return type of categories() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open

    public function categories(): BelongsToMany
Severity: Minor
Found in src/Models/User.php by phan

There are no issues that match your filters.

Category
Status