EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

Possibly zero references to use statement for classlike/namespace WebinarPermissionsEnum (\EscolaLms\Webinar\Enum\WebinarPermissionsEnum)
Open

use EscolaLms\Webinar\Enum\WebinarPermissionsEnum;

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

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

Return type of webinars() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open

    public function webinars(): BelongsToMany
Severity: Minor
Found in src/Models/Traits/HasWebinars.php by phan

Call to undeclared method \EscolaLms\Webinar\Models\Webinar::belongsToMany
Open

        return $this->belongsToMany(User::class, 'webinar_trainers','webinar_id', 'trainer_id') ;
Severity: Critical
Found in src/Models/Webinar.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

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

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

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

            'id' => $this->resource->id,
Severity: Minor
Found in src/Http/Resources/TrainerResource.php by phan

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

            'email' => $this->resource->email,
Severity: Minor
Found in src/Http/Resources/TrainerResource.php by phan

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

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

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

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

Call to method make from undeclared class \Carbon\Carbon
Open

            'active_to' => Carbon::make($this->resource->active_to),

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

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

Return type of tags() is undeclared type \Illuminate\Database\Eloquent\Relations\MorphMany
Open

    public function tags(): MorphMany
Severity: Minor
Found in src/Models/Webinar.php by phan

Reference to undeclared property \EscolaLms\Webinar\Models\Webinar->duration
Open

        return $this->duration ?? '';
Severity: Minor
Found in src/Models/Webinar.php by phan

Call to undeclared function \app()
Open

        $webinarServiceContract = app(WebinarServiceContract::class);
Severity: Critical
Found in src/Models/Webinar.php by phan

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

                && $webinar->trainers()->where('trainer_id', $user->getKey())->exists()
Severity: Critical
Found in src/Policies/WebinarPolicy.php by phan

Class extends undeclared class \Illuminate\Database\Eloquent\Relations\Pivot
Open

class WebinarUserPivot extends Pivot
Severity: Critical
Found in src/Models/WebinarUserPivot.php by phan

Class implements undeclared interface \EscolaLms\Core\Repositories\Contracts\BaseRepositoryContract
Open

interface WebinarRepositoryContract extends BaseRepositoryContract

Reference to undeclared class \EscolaLms\Core\Repositories\Criteria\Criterion
Open

        parent::__construct(null, $value);

Parameter $orderDto has undeclared type ?\EscolaLms\Core\Dtos\OrderDto
Open

    public function getWebinarsList(array $search = [], bool $onlyActive = false, ?OrderDto $orderDto = null, bool $onlyIncoming = false): Builder;
Severity
Category
Status
Source
Language