EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

Call to method string from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->string('yt_stream_key', 255)->nullable();

Call to method create from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::create('webinar_user', function (Blueprint $table) {

Call to method foreign from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->foreign('trainer_id')->references('id')->on('users')->cascadeOnDelete();

Call to method table from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::table('webinars', function (Blueprint $table) {

Call to method routes from undeclared class \Laravel\Passport\Passport
Open

            Passport::routes();
Severity: Critical
Found in src/AuthServiceProvider.php by phan

Class extends undeclared class \BenSampo\Enum\Enum
Open

class ConstantEnum extends Enum
Severity: Critical
Found in src/Enum/ConstantEnum.php by phan

Class extends undeclared class \EscolaLms\Webinar\Events\Webinar (Did you mean class \EscolaLms\Webinar\Models\Webinar)
Open

class WebinarUserUnassigned extends Webinar
Severity: Critical
Found in src/Events/WebinarUserUnassigned.php by phan

Static call to undeclared method \EscolaLms\Webinar\Models\Webinar::findOrFail
Open

        return Webinar::findOrFail($this->route('id'));
Severity: Critical
Found in src/Http/Requests/UpdateWebinarRequest.php by phan

Call to method url from undeclared class \Illuminate\Support\Facades\Storage
Open

            'icon' => $this->resource->icon ? Storage::url($this->resource->icon) : null,

Parameter $table has undeclared type \Illuminate\Database\Schema\Blueprint
Open

        Schema::create('webinars', function (Blueprint $table) {

Reference to undeclared property \EscolaLms\Webinar\Http\Resources\TrainerInterestResource->resource
Open

            'created_at' => $this->resource->created_at,

Call to method text from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->text('description');

Call to method bigInteger from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->bigInteger('author_id')->unsigned();

Class extends undeclared class \Illuminate\Http\Resources\Json\JsonResource
Open

class WebinarSimpleResource extends JsonResource

Call to method bigInteger from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->bigInteger('webinar_id')->unsigned();

Parameter $table has undeclared type \Illuminate\Database\Schema\Blueprint
Open

        Schema::table('webinars', function (Blueprint $table) {

Call to method table from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::table('webinars', function (Blueprint $table) {

Reference to undeclared property \EscolaLms\Webinar\Http\Resources\WebinarSimpleResource->resource
Open

            'description' => $this->resource->description,

Call to method sync from undeclared class \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open

                $webinar->trainers()->sync($trainers->pluck('id')->toArray());
Severity: Critical
Found in database/seeders/WebinarsTermsSeeder.php by phan

Static call to undeclared method \EscolaLms\Webinar\Http\Resources\TrainerResource::collection
Open

            'trainers' => TrainerResource::collection($this->resource->trainers),
Severity
Category
Status
Source
Language