| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class CompileException extends EngineException |
||
| 15 | { |
||
| 16 | /** @var array */ |
||
| 17 | private $userTrace = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function __construct(\Throwable $previous = null) |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Set user trace pointing to the location of error in view templates. |
||
| 32 | * |
||
| 33 | * @param array $trace |
||
| 34 | */ |
||
| 35 | public function setUserTrace(array $trace): void |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | public function getUserTrace(): array |
||
| 48 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.