Showing 1,241 of 1,241 total issues
Return type of forCurrentUserResponse()
is undeclared type \Illuminate\Http\Resources\Json\AnonymousResourceCollection
Open
Open
public function forCurrentUserResponse(ListConsultationsRequest $listConsultationsRequest): AnonymousResourceCollection;
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('consultations/{id}/schedule', [ConsultationController::class, 'schedule']);
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationAPIController
Open
Open
Route::post('/report-term/{consultationTermId}', [ConsultationAPIController::class, 'reportTerm']);
- Exclude checks
Call to method post
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::post('api/consultations/save-screen', [ConsultationAPIController::class, 'screenSave']);
- 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_DELETE_OWN) && $consultation->author_id === $user->getKey());
- Exclude checks
Class implements undeclared interface \EscolaLms\Core\Repositories\Contracts\BaseRepositoryContract
Open
Open
interface ConsultationUserTermRepositoryContract extends BaseRepositoryContract
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationController
Open
Open
Route::get('consultations/users/assignable', [ConsultationController::class, 'assignableUsers']);
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationAPIController
Open
Open
Route::get('/my-schedule', [ConsultationAPIController::class, 'schedule']);
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/proposed-terms/{consultationTermId}', [ConsultationAPIController::class, 'proposedTerms']);
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationAPIController
Open
Open
Route::get('/', [ConsultationAPIController::class, 'index']);
- Exclude checks
Parameter $user
has undeclared type \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Consultations\Models\User) Open
Open
public function update(User $user, Consultation $consultation): bool
- Exclude checks
Return type of getBusyTerms()
is undeclared type \Illuminate\Support\Collection<int></int>
Open
Open
public function getBusyTerms(int $consultationId, ?string $date = null): Collection;
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Repositories\Criteria\Primitives\OrderCriterion->value
Open
Open
return $query->orderBy($this->key, $this->value);
- Exclude checks
Return type of getConsultationsListForCurrentUser()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function getConsultationsListForCurrentUser(array $search = []): Builder;
- Exclude checks
Parameter $dto
has undeclared type \EscolaLms\Consultations\Dto\ChangeTermConsultationDto
Open
Open
public function changeTerm(int $consultationTermId, ChangeTermConsultationDto $dto): bool;
- Exclude checks
Call to method group
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::group(['middleware' => ['auth:api'], 'prefix' => 'api/admin'], function () {
- Exclude checks
Reference to undeclared class \EscolaLms\Core\Repositories\Criteria\Criterion
Open
Open
parent::__construct(null, $value);
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationAPIController
Open
Open
Route::get('/approve-term/{consultationTermId}', [ConsultationAPIController::class, 'approveTerm']);
- Exclude checks
Call to method get
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::get('/generate-jitsi/{consultationTermId}', [ConsultationAPIController::class, 'generateJitsi']);
- Exclude checks
syntax error, unexpected '$query' (T_VARIABLE), expecting ',' or ')'
Open
Open
fn (Builder $query) => $query->where('consultation_user.id', '=', $this->value)
- Exclude checks