1 | <?php |
||
8 | class PHPCRAssetsExtension extends \Twig_Extension |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $jsPath; |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $cssPath; |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $modesDir; |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $themesDir; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $rendered; |
||
31 | |||
32 | /** |
||
33 | * @param array $paths |
||
34 | */ |
||
35 | public function __construct($paths = array()) |
||
44 | |||
45 | /** |
||
46 | * {@inheritDoc} |
||
47 | * @see Twig_Extension::getFunctions() |
||
48 | */ |
||
49 | public function getFunctions() |
||
57 | |||
58 | /** |
||
59 | * @param array $parameters |
||
60 | */ |
||
61 | public function parametersRender($parameters) |
||
65 | |||
66 | /** |
||
67 | * @param array $parameters |
||
68 | * @param string $force |
||
69 | * |
||
70 | * @return array |
||
71 | */ |
||
72 | public function getJs($parameters, $force = false) |
||
93 | |||
94 | /** |
||
95 | * @param array $parameters |
||
96 | * @param string $force |
||
97 | * |
||
98 | * @return array |
||
99 | */ |
||
100 | public function getCss($parameters, $force = false) |
||
121 | |||
122 | /** |
||
123 | * {@inheritDoc} |
||
124 | * @see Twig_ExtensionInterface::getName() |
||
125 | */ |
||
126 | public function getName() |
||
130 | } |
||
131 |
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..