| 1 | <?php |
||
| 28 | class Node |
||
| 29 | { |
||
| 30 | use NodeTrait; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $path node path in dot notation (1.1.2) |
||
| 34 | * @return static |
||
| 35 | * @since XXX |
||
| 36 | */ |
||
| 37 | public static function createFromPath($path) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Create a node object from a matrix |
||
| 47 | * @param array|Matrix $matrix node path in matrix notation [a, b, c, d] |
||
| 48 | * @return static |
||
| 49 | * @since XXX |
||
| 50 | */ |
||
| 51 | public static function createFromMatrix($matrix) |
||
| 61 | } |
||
| 62 |
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..