It seems like $twig of type object<Twig_Environment> is incompatible with the declared type object<Germania\Renderer\Twig_Environment> of property $twig.
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..
Loading history...
25
$this->setLogger( $logger ?: new NullLogger );
26
}
27
28
/**
29
* {@inheritDoc }
30
*/
31
public function __invoke( $template, array $context = array())
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..