ЕР
Size: a a a
ЕР
X
return Groups::with(['Services' => function(Builder $query) {
$query->whereIn('Services.Code', [4002, 4010]);
}])->get();
TypeError: Argument 1 passed to App/Http/Controllers/ReceptionController::App/Http/Controllers/{closure}() must be an instance of Illuminate/Database/Eloquent/Builder, instance of Illuminate/Database/Eloquent/Relations/BelongsToMany given, called in /home/xenx/Projects/workProjects/sinevo/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php on line 580
ЕР
X
v
v
TypeError: Argument 1 passed to App/Http/Controllers/ReceptionController::App/Http/Controllers/{closure}() must be an instance of Illuminate/Database/Eloquent/Builder, instance of Illuminate/Database/Eloquent/Relations/BelongsToMany given, called in /home/xenx/Projects/workProjects/sinevo/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php on line 580
X
EV
DM
EV
A
DM
A
EV
A
EV
A
as
EV