diff --git a/src/Controllers/RestResponse.php b/src/Controllers/RestResponse.php index b7392b120..e5020a3dc 100644 --- a/src/Controllers/RestResponse.php +++ b/src/Controllers/RestResponse.php @@ -4,7 +4,6 @@ use Illuminate\Contracts\Routing\ResponseFactory; use Illuminate\Contracts\Support\Arrayable; -use Illuminate\Database\Eloquent\Model; use Illuminate\Http\JsonResponse; /** @@ -277,7 +276,6 @@ public function respond($response = null) foreach ($this->attributes as $attribute => $value) { $response->{$attribute} = $value; } - } return $this->response()->json($response, is_int($this->code()) ? $this->code() : self::REST_RESPONSE_SUCCESS_CODE, $this->headers);