EscolaLMS/Consultations

View on GitHub
src/Repositories/Criteria/Primitives/OrderCriterion.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Parameter $query has undeclared type \Illuminate\Database\Eloquent\Builder
Open

    public function apply(Builder $query): Builder

Reference to undeclared property \EscolaLms\Consultations\Repositories\Criteria\Primitives\OrderCriterion->value
Open

        return $query->orderBy($this->key, $this->value);

Return type of apply() is undeclared type \Illuminate\Database\Eloquent\Builder
Open

    public function apply(Builder $query): Builder

Call to method orderBy from undeclared class \Illuminate\Database\Eloquent\Builder
Open

        return $query->orderBy($this->key, $this->value);

Reference to undeclared property \EscolaLms\Consultations\Repositories\Criteria\Primitives\OrderCriterion->key
Open

        return $query->orderBy($this->key, $this->value);

Class extends undeclared class \EscolaLms\Core\Repositories\Criteria\Criterion
Open

class OrderCriterion extends Criterion

There are no issues that match your filters.

Category
Status