Completed
Pull Request — master (#41)
by
unknown
03:59
created
src/BasicBot.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,6 @@
 block discarded – undo
232 232
      * \brief Called every time a post get edited in the channel where the bot is in.
233 233
      * \details Override it to script the bot answer for each post edited  in a channel.
234 234
      * <code>$chat_id</code> set inside of this function.
235
-     * @param Message $post The message edited in the channel.
236 235
      */
237 236
     protected function processEditedChannelPost(Message $edited_post)
238 237
     {
Please login to merge, or discard this patch.
src/Core/CoreBot.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
     /**
392 392
      * \brief Set current chat ID.
393 393
      * \details Change the chat ID on which the bot acts.
394
-     * @param $chat_id The new chat ID to set.
394
+     * @param string $chat_id The new chat ID to set.
395 395
      */
396 396
     public function setChatID($chat_id)
397 397
     {
@@ -447,7 +447,6 @@  discard block
 block discarded – undo
447 447
      * brief Process an API method by taking method and parameter.
448 448
      * \details optionally create a object of $class class name with the response as constructor param.
449 449
      * @param string $method Method to call.
450
-     * @param array $param Parameter for the method.
451 450
      * @param string $class Class name of the object to create using response.
452 451
      * @return mixed Response or object of $class class name.
453 452
      */
@@ -525,6 +524,9 @@  discard block
 block discarded – undo
525 524
         return $this->checkRequestError($response);
526 525
     }
527 526
 
527
+    /**
528
+     * @param \Psr\Http\Message\ResponseInterface $response
529
+     */
528 530
     public function checkRequestError($response)
529 531
     {
530 532
         $http_code = $response->getStatusCode();
Please login to merge, or discard this patch.