@@ -60,6 +60,9 @@ |
||
60 | 60 | } |
61 | 61 | } |
62 | 62 | |
63 | + /** |
|
64 | + * @param \Closure $listener |
|
65 | + */ |
|
63 | 66 | function addUpdateListener($listener){ |
64 | 67 | $this->getEventEmitter()->addListener(UpdateWasReceived::class, $listener); |
65 | 68 | } |
@@ -23,7 +23,6 @@ |
||
23 | 23 | * UpdateWasReceived constructor. |
24 | 24 | * |
25 | 25 | * @param Update $update |
26 | - * @param Api $telegram |
|
27 | 26 | */ |
28 | 27 | public function __construct(Update $update, Bot $bot) |
29 | 28 | { |