EscolaLMS/Webinar

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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

    public function apply(Builder $query): Builder

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 class \EscolaLms\Core\Repositories\Criteria\Criterion
Open

        parent::__construct(null, $value);

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

There are no issues that match your filters.

Category
Status