| Conditions | 4 |
| Paths | 5 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function __construct(array $options = array()) |
||
| 36 | { |
||
| 37 | if (!isset($options['template'])) { |
||
| 38 | throw new Exception\InvalidArgumentException('path key in options argument requred'); |
||
| 39 | } |
||
| 40 | |||
| 41 | $this->template = $options['template']; |
||
| 42 | $this->vars = is_array($options['vars']) ? $options['vars'] : array($options['vars']); |
||
|
|
|||
| 43 | $this->place = (isset($options['place'])) ? $options['place'] : self::RESET_CONTEXT; |
||
| 44 | } |
||
| 45 | |||
| 73 |
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..