Showing 636 of 636 total issues
Class extends undeclared class \Illuminate\Database\Seeder
Open
Open
class WebinarsPermissionSeeder extends Seeder
- Exclude checks
Call to method findOrCreate
from undeclared class \Spatie\Permission\Models\Role
Open
Open
$admin = Role::findOrCreate(UserRole::ADMIN, 'api');
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::create('webinar_authors', function (Blueprint $table) {
- Exclude checks
Call to method id
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->id();
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::table('webinar_authors', function (Blueprint $table) {
- Exclude checks
Call to method string
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->string('logotype_path')->nullable();
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::table('webinars', function (Blueprint $table) {
- Exclude checks
Call to undeclared method \EscolaLms\Webinar\AuthServiceProvider::registerPolicies
Open
Open
$this->registerPolicies();
- Exclude checks
Return type of model()
is undeclared type \Illuminate\Database\Eloquent\Model
Open
Open
public function model(): Model;
- Exclude checks
syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
protected array $relations = [];
- Exclude checks
Call to undeclared method \EscolaLms\Webinar\EscolaLmsWebinarServiceProvider::loadTranslationsFrom
Open
Open
$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'webinar');
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Youtube\EscolaLmsYoutubeServiceProvider
Open
Open
$this->app->register(EscolaLmsYoutubeServiceProvider::class);
- Exclude checks
Return type of forCurrentUser()
is undeclared type \Illuminate\Http\JsonResponse
Open
Open
public function forCurrentUser(ListWebinarsRequest $listWebinarsRequest): JsonResponse;
- Exclude checks
Return type of show()
is undeclared type \Illuminate\Http\JsonResponse
Open
Open
public function show(int $id, ShowWebinarRequest $request): JsonResponse;
- Exclude checks
Return type of update()
is undeclared type \Illuminate\Http\JsonResponse
Open
Open
public function update(int $id, UpdateWebinarRequest $updateWebinarRequest): JsonResponse;
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Http\Resources\TrainerInterestResource->resource
Open
Open
'is_active' => $this->resource->is_active,
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Http\Resources\TrainerResource->resource
Open
Open
'id' => $this->resource->id,
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Database\Factories\WebinarFactory->faker
Open
Open
'name' => $this->faker->sentence(10),
- Exclude checks
Call to method string
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->string('name', 255);
- Exclude checks
Call to method bigInteger
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->bigInteger('author_id')->unsigned()->nullable();
- Exclude checks