Showing 636 of 636 total issues
Return type of getWebinarsListForCurrentUser()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function getWebinarsListForCurrentUser(array $search = []): Builder;
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Core\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
return $this->belongsTo(User::class);
- Exclude checks
Parameter $user
has undeclared type \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
public function create(User $user): bool
- 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
Class extends undeclared class \Illuminate\Foundation\Support\Providers\EventServiceProvider
(Did you mean class \EscolaLms\Webinar\Providers\EventServiceProvider) Open
Open
class EventServiceProvider extends ServiceProvider
- Exclude checks
Return type of apply()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function apply(Builder $query): Builder
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Webinar\Http\Controllers\WebinarAPIController
Open
Open
Route::get('/generate-jitsi/{id}', [WebinarAPIController::class, 'generateJitsi']);
- Exclude checks
Return type of webinar()
is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open
Open
public function webinar(): BelongsTo
- 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 list(User $user): bool
- 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
$user->can(WebinarPermissionsEnum::WEBINAR_UPDATE_OWN)
- Exclude checks
Reference to undeclared class \EscolaLms\Core\Repositories\Criteria\Criterion
Open
Open
parent::__construct(null, $value);
- 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
syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ',' or ')'
Open
Open
$query->orWhereHas('users', fn ($query) =>
- Exclude checks
syntax error, unexpected 'RelationStrategyContract' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private RelationStrategyContract $relationStrategyContract;
- Exclude checks
Parameter $webinarDto
has undeclared type \EscolaLms\Webinar\Dto\WebinarDto
Open
Open
public function update(int $id, WebinarDto $webinarDto): Webinar;
- Exclude checks
Call to method post
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::post('webinars/{id}', [WebinarController::class, 'update']);
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Webinar\Http\Controllers\WebinarAPIController
Open
Open
Route::get('/start-live-stream/{id}', [WebinarAPIController::class, 'startLiveStream']);
- 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