EscolaLMS/Webinar

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

Summary

Maintainability
A
0 mins
Test Coverage

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

        parent::__construct(null, $value);

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

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

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

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

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

    public function apply(Builder $query): Builder

Reference to undeclared property \EscolaLms\Webinar\Repositories\Criteria\WebinarSearch->value
Open

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

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

class WebinarSearch extends Criterion

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

    public function apply(Builder $query): Builder

There are no issues that match your filters.

Category
Status