1 | <?php |
||
20 | class JsonValidationDisplayer extends JsonDisplayer implements DisplayerInterface |
||
21 | { |
||
22 | /** |
||
23 | * Get the error response associated with the given exception. |
||
24 | * |
||
25 | * @param \Exception $exception |
||
26 | * @param string $id |
||
27 | * @param int $code |
||
28 | * @param string[] $headers |
||
29 | * |
||
30 | * @return \Symfony\Component\HttpFoundation\Response |
||
31 | */ |
||
32 | public function display(Exception $exception, $id, $code, array $headers) |
||
40 | |||
41 | /** |
||
42 | * Can we display the exception? |
||
43 | * |
||
44 | * @param \Exception $original |
||
45 | * @param \Exception $transformed |
||
46 | * @param int $code |
||
47 | * |
||
48 | * @return bool |
||
49 | */ |
||
50 | public function canDisplay(Exception $original, Exception $transformed, $code) |
||
54 | } |
||
55 |
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.