1 | <?php |
||
9 | class SmartyRenderer implements RendererInterface, LoggerAwareInterface { |
||
10 | |||
11 | use LoggerAwareTrait; |
||
12 | |||
13 | /** |
||
14 | * @var Smarty |
||
15 | */ |
||
16 | public $smarty; |
||
17 | |||
18 | |||
19 | /** |
||
20 | * @param \Smarty $smarty Your Smarty instance |
||
21 | * @param LoggerInterface|null $logger Optional: PSR-3 Logger |
||
22 | */ |
||
23 | public function __construct (\Smarty $smarty, LoggerInterface $logger = null ) |
||
28 | |||
29 | /** |
||
30 | * {@inheritDoc } |
||
31 | */ |
||
32 | public function __invoke( $template, array $context = array()) |
||
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..