| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class TopicChangeMessage extends IrcMessage |
||
| 12 | { |
||
| 13 | public string $topic; |
||
| 14 | |||
| 15 | public function __construct(string $message) |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Change the topic for the referenced channel. |
||
| 24 | */ |
||
| 25 | public function handle(IrcClient $client, bool $force = false): void |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return array<int, Event> |
||
| 36 | */ |
||
| 37 | public function getEvents(): array |
||
| 44 |
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.