Skip to content

Commit 5fe4ed6

Browse files
author
Harlan Wilton
committed
Fixing StyleCI issues dingo#2
1 parent d3cc061 commit 5fe4ed6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Exception/Handler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public function handle($exception)
174174
* @param Throwable $exception
175175
*
176176
* @throws Throwable
177+
*
177178
* @return Response
178179
*/
179180
protected function genericResponse(Throwable $exception)

src/Http/Response.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,15 @@ public function setContent($content)
198198
// content value and continue.
199199
if (! empty($content) && is_object($content) && ! $this->shouldBeJson($content)) {
200200
$this->original = $content;
201+
201202
return $this;
202203
}
203204

204205
try {
205206
return parent::setContent($content);
206207
} catch (UnexpectedValueException $exception) {
207208
$this->original = $content;
209+
208210
return $this;
209211
}
210212
}

0 commit comments

Comments
 (0)