1 | <?php |
||
9 | class ScriptBranch |
||
10 | { |
||
11 | /** |
||
12 | * @var ScriptInterface |
||
13 | */ |
||
14 | private $fullScript; |
||
15 | |||
16 | /** |
||
17 | * @var array|\array[] |
||
18 | */ |
||
19 | private $segments; |
||
20 | |||
21 | /** |
||
22 | * @var array|\bool[] |
||
23 | */ |
||
24 | private $branch; |
||
25 | |||
26 | /** |
||
27 | * ScriptBranch constructor. |
||
28 | * @param ScriptInterface $fullScript |
||
29 | * @param array $logicalPath |
||
30 | * @param PathTrace $segments |
||
31 | */ |
||
32 | public function __construct(ScriptInterface $fullScript, array $logicalPath, PathTrace $segments) |
||
38 | |||
39 | /** |
||
40 | * @return ScriptInterface |
||
41 | */ |
||
42 | public function getFullScript() |
||
46 | |||
47 | /** |
||
48 | * @return array|\bool[] |
||
49 | */ |
||
50 | public function getPath() |
||
54 | |||
55 | /** |
||
56 | * @return array|\array[]|PathTrace |
||
57 | */ |
||
58 | public function getSegments() |
||
62 | |||
63 | /** |
||
64 | * @return array |
||
65 | */ |
||
66 | public function getOps() |
||
74 | |||
75 | /** |
||
76 | * @return ScriptInterface |
||
77 | */ |
||
78 | public function getNeuteredScript() |
||
82 | |||
83 | /** |
||
84 | * @return ScriptInterface |
||
85 | */ |
||
86 | public function getScript() |
||
92 | |||
93 | /** |
||
94 | * @return array |
||
95 | */ |
||
96 | public function __debugInfo() |
||
113 | |||
114 | /** |
||
115 | * @return OperationContainer[] |
||
116 | */ |
||
117 | public function getSignSteps() |
||
128 | } |
||
129 |
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..