Showing 1,241 of 1,241 total issues
Parameter $dto
has undeclared type \EscolaLms\Consultations\Dto\FinishTermDto
Open
Open
public function finishTerm(int $consultationTermId, FinishTermDto $dto): bool;
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationController
Open
Open
Route::get('consultations/{id}/schedule', [ConsultationController::class, 'schedule']);
- Exclude checks
Call to method post
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::post('consultations/change-term/{consultationTermId}', [ConsultationController::class, 'changeTerm']);
- Exclude checks
Call to method can
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Consultations\Models\User) Open
Open
return $user->can(ConsultationsPermissionsEnum::CONSULTATION_DELETE)
- Exclude checks
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_DELETE_OWN) && $consultation->author_id === $user->getKey());
- 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 $consultationDto
has undeclared type \EscolaLms\Consultations\Dto\ConsultationDto
Open
Open
public function update(int $id, ConsultationDto $consultationDto): Consultation;
- Exclude checks
syntax error, unexpected 'Consultation' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private Consultation $consultation;
- Exclude checks
syntax error, unexpected 'RelationStrategyContract' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private RelationStrategyContract $relationStrategyContract;
- Exclude checks
Call to method group
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::group(['middleware' => ['auth:api'], 'prefix' => 'api/consultations'], function () {
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationAPIController
Open
Open
Route::get('/reject-term/{consultationTermId}', [ConsultationAPIController::class, 'rejectTerm']);
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/reject-term/{consultationTermId}', [ConsultationAPIController::class, 'rejectTerm']);
- Exclude checks
syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ',' or ')'
Open
Open
$query->whereHas('consultationUser', fn($query) => $query->where('consultation_id', '=', $consultationId));
- Exclude checks
Parameter $query
has undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function getBoughtConsultationsByQuery(Builder $query): Builder;
- Exclude checks
Call to method connection
from undeclared class \Illuminate\Support\Facades\DB
Open
Open
$like = DB::connection()->getPdo()->getAttribute(\PDO::ATTR_DRIVER_NAME) === 'pgsql' ? 'ILIKE' : 'LIKE';
- Exclude checks
Parameter $orderDto
has undeclared type ?\EscolaLms\Core\Dtos\OrderDto
Open
Open
public function getConsultationsList(array $search = [], bool $onlyActive = false, OrderDto $orderDto = null): Builder;
- Exclude checks
syntax error, unexpected 'Consultation' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private Consultation $consultation;
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationAPIController
Open
Open
Route::get('/generate-jitsi/{consultationTermId}', [ConsultationAPIController::class, 'generateJitsi']);
- Exclude checks
Call to method can
from undeclared class \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Consultations\Models\User) Open
Open
return $user->can(ConsultationsPermissionsEnum::CONSULTATION_READ)
- Exclude checks
Call to method can
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