Completed
Pull Request — master (#182)
by
unknown
03:18
created
src/Bots/Bot.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Events/UpdateWasReceived.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.