EscolaLMS/Webinar

View on GitHub
src/Models/Traits/HasWebinars.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to undeclared method \EscolaLms\Webinar\Models\Traits\HasWebinars::belongsToMany
Open

        return $this->belongsToMany(Webinar::class, 'webinar_user')->using(WebinarUserPivot::class);
Severity: Critical
Found in src/Models/Traits/HasWebinars.php by phan

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

    public function webinars(): BelongsToMany
Severity: Minor
Found in src/Models/Traits/HasWebinars.php by phan

There are no issues that match your filters.

Category
Status