1 | <?php |
||
17 | abstract class TwigTemplate extends Template |
||
18 | { |
||
19 | /** |
||
20 | * @var \Sonata\CacheBundle\Invalidation\Recorder |
||
21 | */ |
||
22 | protected static $recorder; |
||
23 | |||
24 | /** |
||
25 | * @static |
||
26 | * |
||
27 | * @param \Sonata\Cache\Invalidation\Recorder $recorder |
||
28 | */ |
||
29 | public static function attachRecorder(Recorder $recorder) |
||
33 | |||
34 | /** |
||
35 | * @param mixed $object |
||
36 | * @param string $item |
||
37 | * @param array $arguments |
||
38 | * @param string $type |
||
39 | * @param bool $isDefinedTest |
||
40 | * @param bool $ignoreStrictCheck |
||
41 | * |
||
42 | * @return mixed |
||
43 | */ |
||
44 | protected function getAttribute($object, $item, array $arguments = [], $type = Template::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false) |
||
54 | } |
||
55 |
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..