EscolaLMS/Consultations

View on GitHub
src/Repositories/Criteria/ConsultationSearch.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Call to method connection from undeclared class \Illuminate\Support\Facades\DB
Open

        $like = DB::connection()->getPdo()->getAttribute(\PDO::ATTR_DRIVER_NAME) === 'pgsql' ? 'ILIKE' : 'LIKE';

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

    public function apply(Builder $query): Builder

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

        return $query->where('consultations.name', $like, '%' . $this->value . '%');

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

        return $query->where('consultations.name', $like, '%' . $this->value . '%');

Reference to undeclared class \EscolaLms\Core\Repositories\Criteria\Criterion
Open

        parent::__construct(null, $value);

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

class ConsultationSearch extends Criterion

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

    public function apply(Builder $query): Builder

There are no issues that match your filters.

Category
Status