| 1 | <?php |
||
| 17 | class Context |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var JoinableOpcode[] |
||
| 21 | */ |
||
| 22 | private $stack; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var bool |
||
| 26 | */ |
||
| 27 | private $await = false; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Context constructor. |
||
| 31 | */ |
||
| 32 | public function __construct() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return null|JoinableOpcode |
||
| 39 | */ |
||
| 40 | public function current(): ?JoinableOpcode |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param \Closure $then |
||
| 47 | * @return \Generator |
||
| 48 | */ |
||
| 49 | public function transaction(\Closure $then): \Generator |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return null|JoinableOpcode |
||
| 64 | */ |
||
| 65 | public function create(): ?JoinableOpcode |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return null|JoinableOpcode |
||
| 74 | */ |
||
| 75 | public function close(): ?JoinableOpcode |
||
| 81 | |||
| 82 | /** |
||
| 83 | * @param JoinableOpcode $opcode |
||
| 84 | * @return JoinableOpcode |
||
| 85 | */ |
||
| 86 | public function match(JoinableOpcode $opcode): JoinableOpcode |
||
| 95 | } |
||
| 96 |
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..