From e9901e16009390fa7c19feb395965995a0669e75 Mon Sep 17 00:00:00 2001 From: Lupacescu Eduard Date: Mon, 23 Dec 2019 15:23:18 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Controllers/RestResponse.php | 2 -- 1 file changed, 2 deletions(-) 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);