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.
Loading history...
32
->setUsers($this->names);
33
}
34
}
35
36
/**
37
* @return array<int, Event>
38
*/
39
public function getEvents(): array
40
{
41
return [
42
new Event('names', [$this->channel, $this->names]),
43
new Event(sprintf('names%s', $this->channel->getName()), [$this->names]),
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.