Completed
Push — master ( 3845e2...a95f7d )
by Danilo
09:37
created
src/Core/BaseBot.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
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
     /**
401 401
      * \brief Set current chat ID.
402 402
      * \details Change the chat ID on which the bot acts.
403
-     * @param $chat_id The new chat ID to set.
403
+     * @param string $chat_id The new chat ID to set.
404 404
      */
405 405
     public function setChatID($chat_id)
406 406
     {
@@ -460,7 +460,6 @@  discard block
 block discarded – undo
460 460
      * \brief Process an API method by taking method and parameter.
461 461
      * \details optionally create a object of $class class name with the response as constructor param.
462 462
      * @param string $method Method to call.
463
-     * @param array $param Parameter for the method.
464 463
      * @param string $class Class name of the object to create using response.
465 464
      * @return mixed Response or object of $class class name.
466 465
      */
@@ -533,6 +532,9 @@  discard block
 block discarded – undo
533 532
         return $this->checkRequestError($response);
534 533
     }
535 534
 
535
+    /**
536
+     * @param \Psr\Http\Message\ResponseInterface $response
537
+     */
536 538
     public function checkRequestError($response)
537 539
     {
538 540
         $http_code = $response->getStatusCode();
Please login to merge, or discard this patch.
src/Entities/EntityAccess.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,6 +63,4 @@
 block discarded – undo
63 63
         }
64 64
 
65 65
         // If not return the data from the array after checking it is set
66
-        return isset($this->container[$offset]) ? $this->container[$offset] : null;
67
-    }
68
-}
66
+        return isset($this->container[$offset]) ? $this->container[$offset
69 67
\ No newline at end of file
Please login to merge, or discard this patch.
src/Utilities/Paginator.php 1 patch
Doc Comments   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -102,10 +102,4 @@
 block discarded – undo
102 102
             }
103 103
         }
104 104
 
105
-        return $message;
106
-    }
107
-}
108
-
109
-/*
110
- * @}
111
- */
105
+        return $message
112 106
\ No newline at end of file
Please login to merge, or discard this patch.