Showing 636 of 636 total issues
Call to undeclared method \EscolaLms\Webinar\Models\Webinar::belongsToMany
Open
Open
return $this->belongsToMany(User::class, 'webinar_user');
- Exclude checks
Call to method getKey
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
&& $webinar->trainers()->where('trainer_id', $user->getKey())->exists()
- Exclude checks
Call to method can
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
return $user->can(WebinarPermissionsEnum::WEBINAR_UPDATE)
- Exclude checks
Call to method can
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
return $user->can(WebinarPermissionsEnum::WEBINAR_READ)
- Exclude checks
syntax error, unexpected 'Webinar' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private Webinar $webinar;
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/', [WebinarAPIController::class, 'index']);
- Exclude checks
Call to undeclared method \EscolaLms\Webinar\Models\WebinarUserPivot::belongsTo
Open
Open
return $this->belongsTo(Webinar::class);
- Exclude checks
Parameter $user
has undeclared type \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
public function delete(User $user, Webinar $webinar): bool
- Exclude checks
Call to method where
from undeclared class \Illuminate\Database\Eloquent\Builder
Open
Open
return $query->where('webinars.name', $like, '%' . $this->value . '%');
- Exclude checks
Parameter $user
has undeclared type \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
public function isTrainer(User $user, Webinar $webinar): bool;
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Webinar\Http\Controllers\WebinarController
Open
Open
Route::get('webinars/users/assignable', [WebinarController::class, 'assignableUsers']);
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('webinars/users/assignable', [WebinarController::class, 'assignableUsers']);
- Exclude checks
Call to method group
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::group(['middleware' => ['auth:api'], 'prefix' => 'api/webinars'], function () {
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/start-live-stream/{id}', [WebinarAPIController::class, 'startLiveStream']);
- Exclude checks
Return type of webinar()
is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open
Open
public function webinar(): BelongsTo
- Exclude checks
Class uses undeclared trait \Illuminate\Auth\Access\HandlesAuthorization
Open
Open
class WebinarPolicy
- Exclude checks
Call to method getKey
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
&& $webinar->trainers()->where('trainer_id', $user->getKey())->exists()
- Exclude checks
Call to method getKey
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
&& $webinar->trainers()->where('trainer_id', $user->getKey())->exists()
- Exclude checks
Possibly zero references to use statement for classlike/namespace Collection
(\Illuminate\Support\Collection)
Open
Open
use Illuminate\Support\Collection;
- Exclude checks
Call to method can
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
return $user->can(WebinarPermissionsEnum::WEBINAR_CREATE);
- Exclude checks