Total Complexity | 13 |
Total Lines | 85 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class Receiver |
||
18 | { |
||
19 | // in receiving |
||
20 | private const STA_RECV = 1; |
||
21 | |||
22 | // sta cleaning |
||
23 | private const STA_CLEAR = 0; |
||
24 | |||
25 | /** |
||
26 | * @var int |
||
27 | */ |
||
28 | private $state = self::STA_CLEAR; |
||
29 | |||
30 | /** |
||
31 | * @var Buffer |
||
32 | */ |
||
33 | private $buffer = null; |
||
34 | |||
35 | /** |
||
36 | * @var int |
||
37 | */ |
||
38 | private $sized = 0; |
||
39 | |||
40 | /** |
||
41 | * Framing constructor. |
||
42 | */ |
||
43 | public function __construct() |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @param string $recv |
||
50 | * @param Nsqd $nsqd |
||
51 | * @param Closure $waiter |
||
52 | * @param Consuming $consuming |
||
53 | */ |
||
54 | public function inbound(string $recv, Nsqd $nsqd, Closure $waiter, Consuming $consuming = null) : void |
||
106 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.