1 | <?php |
||
18 | class RulesetCallNode extends Node |
||
19 | { |
||
20 | /** |
||
21 | * Node type. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $type = 'RulesetCall'; |
||
26 | |||
27 | /** |
||
28 | * @var Node |
||
29 | */ |
||
30 | public $variable; |
||
31 | |||
32 | /** |
||
33 | * Constructor. |
||
34 | * |
||
35 | * @param string $variable |
||
36 | */ |
||
37 | public function __construct($variable) |
||
41 | |||
42 | /** |
||
43 | * Compiles the node. |
||
44 | * |
||
45 | * @param Context $context The context |
||
46 | * @param array|null $arguments Array of arguments |
||
47 | * @param bool|null $important Important flag |
||
48 | * |
||
49 | * @return Node |
||
50 | */ |
||
51 | public function compile(Context $context, $arguments = null, $important = null) |
||
58 | } |
||
59 |
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..