1 | <?php |
||
28 | class ExceptionHandler implements ExceptionHandlerContract |
||
29 | { |
||
30 | /** |
||
31 | * Holds an instance of the application exception handler. |
||
32 | * |
||
33 | * @var \Illuminate\Contracts\Debug\ExceptionHandler |
||
34 | */ |
||
35 | protected $appExceptionHandler; |
||
36 | |||
37 | /** |
||
38 | * Holds an instance of the application. |
||
39 | * |
||
40 | * @var \Illuminate\Contracts\Foundation\Application |
||
41 | */ |
||
42 | protected $app; |
||
43 | |||
44 | /** |
||
45 | * Creates a new instance of the ExceptionHandler. |
||
46 | * |
||
47 | * @param \Illuminate\Contracts\Foundation\Application $app |
||
48 | * @param \Illuminate\Contracts\Debug\ExceptionHandler $appExceptionHandler |
||
49 | */ |
||
50 | 4 | public function __construct(Application $app, ExceptionHandlerContract $appExceptionHandler) |
|
51 | { |
||
52 | 4 | $this->app = $app; |
|
53 | 4 | $this->appExceptionHandler = $appExceptionHandler; |
|
54 | 4 | } |
|
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | 2 | public function report(Exception $e) |
|
60 | { |
||
61 | 2 | $this->appExceptionHandler->report($e); |
|
62 | 2 | } |
|
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | public function render($request, Exception $e) |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | */ |
||
80 | public function renderForConsole($output, Exception $e) |
||
94 | } |
||
95 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.