| 1 | <?php |
||
| 13 | class CallableDecorator extends AbstractCellDecorator |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * |
||
| 18 | * @var \Closure |
||
| 19 | */ |
||
| 20 | protected $options; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Constructor |
||
| 24 | * |
||
| 25 | * @param array $options |
||
| 26 | * @throws \Exception |
||
| 27 | */ |
||
| 28 | public function __construct(array $options = array()) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Rendering decorator |
||
| 39 | * |
||
| 40 | * @param string $context |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function render($context) |
||
| 48 | } |
||
| 49 |
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..