It seems like $checksig of type object<BitWasp\Bitcoin\T...ction\Factory\Checksig> is incompatible with the declared type null of property $providedBy.
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..
Loading history...
83
}
84
85
/**
86
* @return BufferInterface[]
87
*/
88
public function serialize(): array
89
{
90
if ($this->hasValue() && null === $this->providedBy) {
91
return [$this->value ? new Buffer("\x01") : new Buffer()];
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..