Completed
Push — master ( a95f7d...eaa6fe )
by Danilo
02:55
created
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.