EscolaLMS/Consultations

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

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

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

Call to undeclared method \EscolaLms\Consultations\Models\Traits\HasConsultations::belongsToMany
Open

        return $this->belongsToMany(Consultation::class, 'consultation_user')->withTimestamps();
Severity: Critical
Found in src/Models/Traits/HasConsultations.php by phan

There are no issues that match your filters.

Category
Status