Showing 1,241 of 1,241 total issues
Call to method getKey
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Consultations\Models\User) Open
Open
|| ($user->can(ConsultationsPermissionsEnum::CONSULTATION_UPDATE_OWN) && $consultation->author_id === $user->getKey());
- Exclude checks
Parameter $consultationDto
has undeclared type \EscolaLms\Consultations\Dto\ConsultationDto
Open
Open
public function store(ConsultationDto $consultationDto): Consultation;
- Exclude checks
Return type of generateDateTo()
is undeclared type ?\Carbon\Carbon
Open
Open
public function generateDateTo(string $dateTo, string $duration): ?Carbon;
- Exclude checks
Return type of getConsultationTermsForTutor()
is undeclared type \Illuminate\Support\Collection
Open
Open
public function getConsultationTermsForTutor(): Collection;
- Exclude checks
Parameter $dto
has undeclared type \EscolaLms\Consultations\Dto\ConsultationSaveScreenDto
Open
Open
public function saveScreen(ConsultationSaveScreenDto $dto): void;
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationController
Open
Open
Route::resource('consultations', ConsultationController::class);
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationAPIController
Open
Open
Route::get('/{id}', [ConsultationAPIController::class, 'show']);
- Exclude checks
Class extends undeclared class \Illuminate\Foundation\Support\Providers\EventServiceProvider
(Did you mean class \EscolaLms\Consultations\Providers\EventServiceProvider) Open
Open
class EventServiceProvider extends ServiceProvider
- Exclude checks
Class implements undeclared interface \EscolaLms\Core\Repositories\Contracts\BaseRepositoryContract
Open
Open
interface ConsultationRepositoryContract extends BaseRepositoryContract
- Exclude checks
Class implements undeclared interface \EscolaLms\Core\Repositories\Contracts\BaseRepositoryContract
Open
Open
interface ConsultationUserRepositoryContract extends BaseRepositoryContract
- Exclude checks
Doc-block of getBusyTerms
contains declared return type \Illuminate\Support\Collection<int></int>
which is incompatible with the return type \Illuminate\Support\Collection
declared in the signature Open
Open
* @return Collection<int, Model>
- Exclude checks
Return type of apply()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function apply(Builder $query): Builder
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Repositories\Criteria\ConsultationSearch->value
Open
Open
return $query->where('consultations.name', $like, '%' . $this->value . '%');
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/{id}', [ConsultationAPIController::class, 'show']);
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Listeners\ReminderAboutTermListener
Open
Open
ReminderAboutTermListener::class
- Exclude checks
Return type of allQueryBuilder()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function allQueryBuilder(array $search = [], array $criteria = []): Builder;
- Exclude checks
Return type of getBusyTerms()
is undeclared type \Illuminate\Support\Collection
Open
Open
public function getBusyTerms(int $consultationId, ?string $date = null): Collection;
- Exclude checks
Parameter $models
has undeclared type \Illuminate\Support\Collection
Open
Open
public function updateModels(Collection $models, array $data): void;
- Exclude checks
Parameter $query
has undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function apply(Builder $query): Builder
- Exclude checks
syntax error, unexpected '$query' (T_VARIABLE), expecting ',' or ')'
Open
Open
fn (Builder $query) => $query->where('consultation_user.consultation_id', '=', $this->value)
- Exclude checks