Showing 636 of 636 total issues
Call to method connection
from undeclared class \Illuminate\Support\Facades\DB
Open
Open
$like = DB::connection()->getPdo()->getAttribute(\PDO::ATTR_DRIVER_NAME) === 'pgsql' ? 'ILIKE' : 'LIKE';
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Webinar\Http\Controllers\WebinarAPIController
Open
Open
Route::get('/{id}', [WebinarAPIController::class, 'show']);
- Exclude checks
Return type of getIncomingTerm()
is undeclared type \Illuminate\Support\Collection
Open
Open
public function getIncomingTerm(array $criteria = []): Collection;
- Exclude checks
syntax error, unexpected '$query' (T_VARIABLE), expecting ',' or ')'
Open
Open
return $query->whereHas('tags', fn (Builder $query) =>
- Exclude checks
Parameter $orderDto
has undeclared type ?\EscolaLms\Core\Dtos\OrderDto
Open
Open
public function getWebinarsList(array $search = [], bool $onlyActive = false, ?OrderDto $orderDto = null, bool $onlyIncoming = false): Builder;
- Exclude checks
Call to method resource
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::resource('webinars', WebinarController::class);
- Exclude checks
Class extends undeclared class \Illuminate\Database\Eloquent\Relations\Pivot
Open
Open
class WebinarUserPivot extends Pivot
- 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
Parameter $user
has undeclared type \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
public function update(User $user, Webinar $webinar): bool
- Exclude checks
Call to method group
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::group(['middleware' => ['auth:api'], 'prefix' => 'api/admin'], function () {
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/me', [WebinarAPIController::class, 'forCurrentUser']);
- Exclude checks
Return type of getWebinarsList()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function getWebinarsList(array $search = [], bool $onlyActive = false, ?OrderDto $orderDto = null, bool $onlyIncoming = false): Builder;
- 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
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
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 get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/{id}', [WebinarAPIController::class, 'show']);
- 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
Reference to constant class
from undeclared class \EscolaLms\Webinar\Listeners\ReminderAboutTermListener
Open
Open
ReminderAboutTermListener::class
- Exclude checks
syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private ?bool $withDuration;
- Exclude checks