Showing 636 of 636 total issues
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
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 get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/me', [WebinarAPIController::class, 'forCurrentUser']);
- 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
Reference to constant class
from undeclared class \EscolaLms\Webinar\Http\Controllers\WebinarAPIController
Open
Open
Route::get('/{id}', [WebinarAPIController::class, 'show']);
- Exclude checks
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
Call to method group
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::group(['middleware' => ['auth:api'], 'prefix' => 'api/admin'], function () {
- Exclude checks
syntax error, unexpected 'WebinarRepositoryContract' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private WebinarRepositoryContract $webinarRepositoryContract;
- 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('/{id}', [WebinarAPIController::class, 'show']);
- Exclude checks
Return type of users()
is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open
Open
public function users(): BelongsToMany
- Exclude checks
Call to undeclared method \EscolaLms\Webinar\Models\WebinarUserPivot::belongsTo
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
$user->can(WebinarPermissionsEnum::WEBINAR_UPDATE_OWN)
- 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
Parameter $query
has undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function apply(Builder $query): Builder
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Repositories\Criteria\WebinarSearch->value
Open
Open
return $query->where('webinars.name', $like, '%' . $this->value . '%');
- 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
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