aharen

Error: Interface not found

laravel Icon

Error

Interface not found

An unhandled exception occurred on line 8
5
use Illuminate\Database\Eloquent\Model;
6
use Illuminate\Database\Eloquent\ScopeInterface;
7
8
class TournamentScope implements ScopeInterface
9
{
10
    public function apply(Builder $builder, Model $model)

Solution

use Illuminate\Database\Eloquent\ScopeInterface; changed to use Illuminate\Database\Eloquent\Scope;            
May 02, 2021 Anyone

0 replies


Install the browser extension

Found this solution helpful? Try our extension for quick solutions to your Laravel errors.

Chrome logo Add to Chrome - It's free