| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php defined('SYSPATH') or die('No direct access allowed.'); |
||
| 29 | public function __construct() |
||
| 30 | { |
||
| 31 | parent::__construct(); |
||
| 32 | |||
| 33 | // Load the template |
||
| 34 | $this->template = new View($this->template); |
||
|
|
|||
| 35 | |||
| 36 | if ($this->auto_render == true) { |
||
| 37 | // Render the template immediately after the controller method |
||
| 38 | Event::add('system.post_controller', array($this, '_render')); |
||
| 39 | } |
||
| 40 | } |
||
| 41 | |||
| 53 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..