Showing 1,241 of 1,241 total issues
Call to method make
from undeclared class \Illuminate\Support\Carbon
Open
Open
'date' => Carbon::make($this->resource->executed_at) ?? '',
- Exclude checks
Property \EscolaLms\Consultations\Models\ConsultationProposedTerm->proposed_at
has undeclared type \Illuminate\Support\Carbon
Open
Open
* @property Carbon $proposed_at
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open
Open
$this->resource->executed_status,
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserTermsResource->resource
Open
Open
$this->resource->executed_at,
- Exclude checks
Call to undeclared method \EscolaLms\Consultations\Models\Traits\HasConsultations::belongsToMany
Open
Open
return $this->belongsToMany(Consultation::class, 'consultation_user')->withTimestamps();
- Exclude checks
Static call to undeclared method \EscolaLms\Consultations\Http\Resources\ConsultationTermResource::collection
Open
Open
'busy_terms' => ConsultationTermResource::collection($consultationServiceContract->getBusyTermsFormatDate($consultation->getKey())),
- Exclude checks
Call to undeclared method \EscolaLms\Consultations\Models\Consultation::belongsTo
Open
Open
return $this->belongsTo(User::class, 'author_id');
- 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\Consultations\Models\Consultation::belongsToMany
Open
Open
return $this->belongsToMany(User::class, 'consultation_user');
- Exclude checks
Call to undeclared method \EscolaLms\Consultations\Models\Consultation::hasMany
Open
Open
return $this->hasMany(ConsultationProposedTerm::class, 'consultation_id');
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Models\Consultation->attributes
Open
Open
$logotype = Storage::url(trim($this->attributes['logotype_path'], '/'));
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Models\Consultation->duration
Open
Open
return $this->duration ?? '0';
- Exclude checks
Property \EscolaLms\Consultations\Models\ConsultationUserPivot->executed_at
has undeclared type \Illuminate\Support\Carbon
Open
Open
* @property Carbon $executed_at
- Exclude checks
Return type of userTerms()
is undeclared type \Illuminate\Database\Eloquent\Relations\HasMany
Open
Open
public function userTerms(): HasMany
- Exclude checks
Property \EscolaLms\Consultations\Models\ConsultationUserTerm->executed_at
has undeclared type \Illuminate\Support\Carbon
Open
Open
* @property Carbon $executed_at
- Exclude checks
syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private ?int $consultationUserId;
- Exclude checks
Parameter $dto
has undeclared type \EscolaLms\Consultations\Dto\ConsultationUserTermDto
Open
Open
public function rejectTerm(int $consultationTermId, ConsultationUserTermDto $dto): bool;
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationAPIController
Open
Open
Route::get('/proposed-terms/{consultationTermId}', [ConsultationAPIController::class, 'proposedTerms']);
- Exclude checks
Return type of allQueryBuilder()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function allQueryBuilder(
- Exclude checks
Return type of getAllUserTermsByConsultationIdAndExecutedAt()
is undeclared type \Illuminate\Support\Collection
Open
Open
public function getAllUserTermsByConsultationIdAndExecutedAt(int $consultationId, string $executedAt): Collection;
- Exclude checks