1 | <?php |
||
15 | class SQLConverter implements Converter |
||
16 | { |
||
17 | /** |
||
18 | * Builders of the SQL command. |
||
19 | * |
||
20 | * @var Converter[] |
||
21 | */ |
||
22 | private $converters = []; |
||
23 | |||
24 | /** |
||
25 | * SQLConverter constructor. |
||
26 | */ |
||
27 | 7 | public function __construct() |
|
36 | |||
37 | /** |
||
38 | * Build the SQL command for the given value. |
||
39 | * |
||
40 | * @param mixed $value the value that will be converted |
||
41 | * |
||
42 | * @return string correspondent SQL to the given value |
||
43 | */ |
||
44 | 5 | public function convert($value) |
|
59 | } |
||
60 |
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..