Custom Operator in Query Builder
I have this code:
And i get this error from it.
Did I do something wrong here? I followed the docs so not sure.
And i get this error from it.
Argument #1 ($query) must be of type Illuminate\Database\Query\Builder, Illuminate\Database\Eloquent\Builder givenDid I do something wrong here? I followed the docs so not sure.