1 | <?php |
||
21 | class GitterMessage extends AbstractMessage |
||
22 | { |
||
23 | /** |
||
24 | * 5 * 60 sec = 5 min |
||
25 | */ |
||
26 | protected const MESSAGE_EDIT_TIMEOUT = 5 * 60; |
||
27 | |||
28 | /** |
||
29 | * GitterMessage constructor. |
||
30 | * @param ChannelInterface $channel |
||
31 | * @param array $data |
||
32 | */ |
||
33 | public function __construct(ChannelInterface $channel, array $data) |
||
41 | |||
42 | /** |
||
43 | * @param ChannelInterface $channel |
||
44 | * @param array $data |
||
45 | * @return UserInterface |
||
46 | */ |
||
47 | private function getUserFromMessage(ChannelInterface $channel, array $data): UserInterface |
||
56 | } |
||
57 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.