1 | <?php |
||
7 | class RequestRateProcessor extends AbstractProcessor |
||
8 | { |
||
9 | private $requestNumber = 1; |
||
10 | |||
11 | private $timeInterval = 1; |
||
12 | |||
13 | /** |
||
14 | * |
||
15 | * @var \Sokil\FraudDetector\RequestRate\Collector\CollectorInterface |
||
16 | */ |
||
17 | private $collector; |
||
18 | |||
19 | public function isPassed() |
||
23 | |||
24 | public function afterCheckPassed() |
||
29 | |||
30 | public function setCollector(CollectorInterface $collector) |
||
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..