| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function handle(callable $callback) |
||
| 35 | { |
||
| 36 | $delayUntilNextRequest = $this->delayUntilNextRequest(); |
||
| 37 | |||
| 38 | if ($delayUntilNextRequest > 0) { |
||
| 39 | $this->deferrer->sleep($delayUntilNextRequest); |
||
| 40 | } |
||
| 41 | |||
| 42 | $this->store->push( |
||
| 43 | $this->deferrer->getCurrentTime(), |
||
| 44 | $this->limit |
||
| 45 | ); |
||
| 46 | |||
| 47 | return $callback(); |
||
| 48 | } |
||
| 49 | |||
| 80 |
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..