File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments