1 | <?php |
||
7 | class Preprocessor implements IPreprocessor |
||
8 | { |
||
9 | /** @var IPreprocessor[] */ |
||
10 | protected $preprocessors = []; |
||
11 | |||
12 | /** |
||
13 | * Preprocessor constructor. |
||
14 | * |
||
15 | * @param IPreprocessor[] ...$preprocessors |
||
16 | */ |
||
17 | 1 | public function __construct(IPreprocessor ...$preprocessors) |
|
21 | |||
22 | /** |
||
23 | * @param string $query |
||
24 | * @param array $parameters |
||
25 | */ |
||
26 | 1 | public function process(string &$query, array &$parameters) |
|
34 | } |
||
35 |
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..