Showing 636 of 636 total issues
Call to method where
from undeclared class \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open
Open
&& $webinar->trainers()->where('trainer_id', $user->getKey())->exists()
- 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
syntax error, unexpected 'WebinarRepositoryContract' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private WebinarRepositoryContract $webinarRepositoryContract;
- Exclude checks
Call to undeclared method \EscolaLms\Webinar\Models\Webinar::belongsToMany
Open
Open
return $this->belongsToMany(User::class, 'webinar_user');
- Exclude checks
Return type of allQueryBuilder()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function allQueryBuilder(array $search = [], array $criteria = []): Builder;
- Exclude checks
Return type of forCurrentUser()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function forCurrentUser(array $search = [], array $criteria = []): Builder;
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Webinar\Http\Controllers\WebinarController
Open
Open
Route::resource('webinars', WebinarController::class);
- 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('/', [WebinarAPIController::class, 'index']);
- Exclude checks
Call to method can
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
$user->can(WebinarPermissionsEnum::WEBINAR_DELETE_OWN)
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Webinar\Events\ReminderAboutTerm
Open
Open
ReminderAboutTerm::class => [
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/generate-jitsi/{id}', [WebinarAPIController::class, 'generateJitsi']);
- Exclude checks
Return type of user()
is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open
Open
public function user(): BelongsTo
- Exclude checks
Call to method canAny
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
return $user->canAny([WebinarPermissionsEnum::WEBINAR_LIST, WebinarPermissionsEnum::WEBINAR_LIST_OWN]);
- Exclude checks
Call to method where
from undeclared class \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open
Open
&& $webinar->trainers()->where('trainer_id', $user->getKey())->exists()
- Exclude checks
Parameter $query
has undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function apply(Builder $query): Builder
- Exclude checks
Possibly zero references to use statement for classlike/namespace AnonymousResourceCollection
(\Illuminate\Http\Resources\Json\AnonymousResourceCollection)
Open
Open
use Illuminate\Http\Resources\Json\AnonymousResourceCollection;
- 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 get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/stop-live-stream/{id}', [WebinarAPIController::class, 'stopLiveStream']);
- Exclude checks
Class implements undeclared interface \EscolaLms\Core\Repositories\Contracts\BaseRepositoryContract
Open
Open
interface WebinarRepositoryContract extends BaseRepositoryContract
- Exclude checks