Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c69014f

Browse files
committed
Quit overriding.
1 parent 5a59d53 commit c69014f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Illuminate/Exception/SymfonyDisplayer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ public function __construct(ExceptionHandler $symfony, $returnJson = false)
4141
*/
4242
public function display(Exception $exception)
4343
{
44-
$this->returnJson = true;
45-
4644
if ($this->returnJson)
4745
{
4846
return new JsonResponse(array(

0 commit comments

Comments
 (0)