Skip to content

Commit 9202622

Browse files
committed
Merge branch 'fixes' of https://github.com/binaryk/laravel-restify into fixes
2 parents 70d2bb8 + 424c018 commit 9202622

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Controllers/RestResponse.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Illuminate\Contracts\Routing\ResponseFactory;
66
use Illuminate\Contracts\Support\Arrayable;
7-
use Illuminate\Database\Eloquent\Model;
87
use Illuminate\Http\JsonResponse;
98

109
/**
@@ -277,7 +276,6 @@ public function respond($response = null)
277276
foreach ($this->attributes as $attribute => $value) {
278277
$response->{$attribute} = $value;
279278
}
280-
281279
}
282280

283281
return $this->response()->json($response, is_int($this->code()) ? $this->code() : self::REST_RESPONSE_SUCCESS_CODE, $this->headers);

0 commit comments

Comments
 (0)