| 1 | <?php |
||
| 14 | class Template extends AbstractCellDecorator |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Template |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $template; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Array of variables |
||
| 25 | * @var null | array |
||
| 26 | */ |
||
| 27 | protected $vars; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Constructor |
||
| 31 | * |
||
| 32 | * @param array $options |
||
| 33 | * @throws Exception\InvalidArgumentException |
||
| 34 | */ |
||
| 35 | public function __construct(array $options = array()) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Rendering decorator |
||
| 48 | * |
||
| 49 | * @param string $context |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function render($context) |
||
| 72 | } |
||
| 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..