| Total Complexity | 6 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class NameReplyMessage extends IrcMessage |
||
| 12 | { |
||
| 13 | /** @var array<int, string> */ |
||
| 14 | public array $names; |
||
| 15 | |||
| 16 | public function __construct(string $message) |
||
| 17 | { |
||
| 18 | parent::__construct($message); |
||
| 19 | |||
| 20 | $this->channel = new IrcChannel(strstr($this->commandsuffix ?? '', '#')); |
||
| 21 | $this->names = explode(' ', $this->payload); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function handle(IrcClient $client, bool $force = false): void |
||
| 33 | } |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return array<int, Event> |
||
| 38 | */ |
||
| 39 | public function getEvents(): array |
||
| 47 |
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.