Showing 636 of 636 total issues
Reference to constant class
from undeclared class \EscolaLms\Webinar\Http\Controllers\WebinarAPIController
Open
Open
Route::get('/', [WebinarAPIController::class, 'index']);
- Exclude checks
Return type of user()
is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open
Open
public function user(): BelongsTo
- Exclude checks
Parameter $user
has undeclared type \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
public function list(User $user): bool
- 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
Class extends undeclared class \EscolaLms\Core\Repositories\Criteria\Criterion
Open
Open
class WebinarSearch extends Criterion
- Exclude checks
syntax error, unexpected '$query' (T_VARIABLE), expecting ',' or ')'
Open
Open
return $query->whereHas('tags', fn (Builder $query) =>
- Exclude checks
syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ',' or ')'
Open
Open
$query->orWhereHas('users', fn ($query) =>
- Exclude checks
Parameter $webinarDto
has undeclared type \EscolaLms\Webinar\Dto\WebinarDto
Open
Open
public function store(WebinarDto $webinarDto): Webinar;
- Exclude checks
Return type of getWebinarEndDate()
is undeclared type ?\Carbon\Carbon
Open
Open
public function getWebinarEndDate(Webinar $webinar): ?Carbon;
- 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_DELETE)
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Webinar\Events\ReminderAboutTerm
Open
Open
ReminderAboutTerm::class => [
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Webinar\Listeners\ReminderAboutTermListener
Open
Open
ReminderAboutTermListener::class
- 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
Call to method post
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::post('webinars/{id}', [WebinarController::class, 'update']);
- Exclude checks
Call to method resource
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::resource('webinars', WebinarController::class);
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Webinar\Http\Controllers\WebinarAPIController
Open
Open
Route::get('/me', [WebinarAPIController::class, 'forCurrentUser']);
- 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
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
Parameter $user
has undeclared type \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
public function read(User $user, Webinar $webinar): bool
- Exclude checks
Return type of getWebinarsListForCurrentUser()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function getWebinarsListForCurrentUser(array $search = []): Builder;
- Exclude checks