It seems like $this->coerce->coerceCol..._color', $this->value)) targeting LesserPhp\Library\Coerce::coerceColor() can also be of type null; however, LesserPhp\Compiler::compileValue() does only seem to accept array, maybe add an additional type check?
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.
Loading history...
32
}
33
34
12
return $this->value;
35
}
36
37
/**
38
* @inheritdoc
39
*/
40
13
public function initializeFromOldFormat(array $value)
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.