diff --git a/src/Controllers/RestResponse.php b/src/Controllers/RestResponse.php index f12c87e44..0d200564c 100644 --- a/src/Controllers/RestResponse.php +++ b/src/Controllers/RestResponse.php @@ -473,7 +473,7 @@ public function forRepository(Repository $repository, $withRelations = false) { $model = $repository->model(); - if (false === $model instanceof Model ) { + if (false === $model instanceof Model) { return $this; }