1 | <?php |
||
18 | class InputSanitizer |
||
19 | { |
||
20 | /** |
||
21 | * The InputSanitizer instance. |
||
22 | * |
||
23 | * @var \AcidSolutions\InputSanitizer\InputSanitizer |
||
24 | */ |
||
25 | protected $inputSanitizer; |
||
26 | /** |
||
27 | * The Native BootStrapper instance. |
||
28 | * |
||
29 | * @var InputSanitizerBootstrapper |
||
30 | */ |
||
31 | protected static $instance; |
||
32 | |||
33 | /** |
||
34 | * Constructor. |
||
35 | * |
||
36 | * @param InputSanitizerBootstrapper $bootstrapper |
||
37 | */ |
||
38 | 8 | public function __construct(InputSanitizerBootstrapper $bootstrapper = null) |
|
46 | |||
47 | /** |
||
48 | * Returns the InputSanitizer instance. |
||
49 | * |
||
50 | * @return \AcidSolutions\InputSanitizer\InputSanitizer |
||
51 | */ |
||
52 | 6 | public function getInputSanitizer() |
|
56 | |||
57 | /** |
||
58 | * Creates a new Native Bootstrapper instance. |
||
59 | * |
||
60 | * @param InputSanitizerBootstrapper $bootstrapper |
||
61 | * |
||
62 | * @return void |
||
63 | */ |
||
64 | 4 | public static function instance(InputSanitizerBootstrapper $bootstrapper = null) |
|
72 | |||
73 | /** |
||
74 | * Handle dynamic, static calls to the object. |
||
75 | * |
||
76 | * @param string $method |
||
77 | * @param array $args |
||
78 | * |
||
79 | * @return mixed |
||
80 | */ |
||
81 | 2 | public static function __callStatic($method, $args) |
|
98 | } |
||
99 |
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..