Showing 1,241 of 1,241 total issues
Return type of apply()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function apply(Builder $query): Builder
- Exclude checks
Call to method orderBy
from undeclared class \Illuminate\Database\Eloquent\Builder
Open
Open
return $query->orderBy($this->key, $this->value);
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Repositories\Criteria\Primitives\OrderCriterion->key
Open
Open
return $query->orderBy($this->key, $this->value);
- Exclude checks
Parameter $request
has undeclared type \Illuminate\Foundation\Http\FormRequest
Open
Open
public function updateModelFieldsFromRequest(Consultation $consultation, FormRequest $request): void;
- 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_CREATE);
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Events\ReminderAboutTerm
Open
Open
ReminderAboutTerm::class => [
- Exclude checks
syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ',' or ')'
Open
Open
$query->whereHas('userTerms', fn ($query) => $query->where('executed_at', '=', $date));
- Exclude checks
Return type of forCurrentUser()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function forCurrentUser(array $search = [], array $criteria = []): Builder;
- Exclude checks
Return type of getIncomingTerm()
is undeclared type \Illuminate\Support\Collection
Open
Open
public function getIncomingTerm(array $criteria = []): Collection;
- Exclude checks
Class extends undeclared class \EscolaLms\Core\Repositories\Criteria\Criterion
Open
Open
class ConsultationSearch extends Criterion
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Http\Controllers\ConsultationController
Open
Open
Route::post('/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_UPDATE)
- Exclude checks
Parameter $filterConsultationTermsListDto
has undeclared type ?\EscolaLms\Consultations\Dto\FilterConsultationTermsListDto
Open
Open
array $search = [],
- Exclude checks
syntax error, unexpected '$query' (T_VARIABLE), expecting ',' or ')'
Open
Open
fn (Builder $query) => $query->whereIn('categories.id', $this->value)
- Exclude checks
Reference to undeclared class \EscolaLms\Core\Repositories\Criteria\Criterion
Open
Open
parent::__construct(null, $value);
- Exclude checks
Return type of getConsultationTermsByConsultationId()
is undeclared type \Illuminate\Support\Collection
Open
Open
public function getConsultationTermsByConsultationId(int $consultationId, array $search = []): Collection;
- Exclude checks
Call to method resource
from undeclared class \Illuminate\Support\Facades\Route
Open
Open
Route::resource('consultations', ConsultationController::class);
- 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_READ_OWN) && $consultation->author_id === $user->getKey());
- 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_READ_OWN) && $consultation->author_id === $user->getKey());
- Exclude checks
Return type of getBoughtConsultationsByQuery()
is undeclared type \Illuminate\Database\Eloquent\Builder
Open
Open
public function getBoughtConsultationsByQuery(Builder $query): Builder;
- Exclude checks