EscolaLMS/Webinar

View on GitHub
src/Models/WebinarUserPivot.php

Summary

Maintainability
A
0 mins
Test Coverage

Class extends undeclared class \Illuminate\Database\Eloquent\Relations\Pivot
Open

class WebinarUserPivot extends Pivot
Severity: Critical
Found in src/Models/WebinarUserPivot.php by phan

Call to undeclared method \EscolaLms\Webinar\Models\WebinarUserPivot::belongsTo
Open

        return $this->belongsTo(Webinar::class);
Severity: Critical
Found in src/Models/WebinarUserPivot.php by phan

Return type of webinar() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open

    public function webinar(): BelongsTo
Severity: Minor
Found in src/Models/WebinarUserPivot.php by phan

Call to undeclared method \EscolaLms\Webinar\Models\WebinarUserPivot::belongsTo
Open

        return $this->belongsTo(User::class);
Severity: Critical
Found in src/Models/WebinarUserPivot.php by phan

Return type of user() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open

    public function user(): BelongsTo
Severity: Minor
Found in src/Models/WebinarUserPivot.php by phan

Reference to constant class from undeclared class \EscolaLms\Core\Models\User (Did you mean class \EscolaLms\Webinar\Models\User)
Open

        return $this->belongsTo(User::class);
Severity: Critical
Found in src/Models/WebinarUserPivot.php by phan

There are no issues that match your filters.

Category
Status