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...
81
}
82
83
/**
84
* @return array
85
*/
86
public function serialize()
87
{
88
if ($this->hasValue() && null === $this->providedBy) {
89
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..