Completed
Push — master ( 7bf2c4...ed6650 )
by Danilo
03:26
created
src/Core/Chat.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
 
5 5
 trait Chat {
6 6
 
7
+    /**
8
+     * @param string $url
9
+     */
7 10
     abstract protected function exec_curl_request($url, $method);
8 11
 
9 12
     /**
Please login to merge, or discard this patch.
src/Core/Edit.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
 
5 5
 trait Edit {
6 6
 
7
+    /**
8
+     * @param string $url
9
+     */
7 10
     abstract protected function exec_curl_request($url, $method);
8 11
 
9 12
     /**
Please login to merge, or discard this patch.
src/Core/Inline.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
 
5 5
 trait Inline {
6 6
 
7
+    /**
8
+     * @param string $url
9
+     */
7 10
     abstract protected function exec_curl_request($url, $method);
8 11
 
9 12
     /**
Please login to merge, or discard this patch.
src/Core/Send.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@  discard block
 block discarded – undo
4 4
 
5 5
 trait Send {
6 6
 
7
+    /**
8
+     * @param string $url
9
+     */
7 10
     abstract protected function exec_curl_request($url, $method);
8 11
 
9 12
     /**
@@ -200,7 +203,7 @@  discard block
 block discarded – undo
200 203
      * - <code>record_audio</code> or <code>upload_audio</code> for audio files
201 204
      * - <code>upload_document</code> for general files
202 205
      * - <code>find_location</code> for location data
203
-     * @return True on success.
206
+     * @return boolean on success.
204 207
      */
205 208
     public function sendChatAction(string $action) : bool {
206 209
 
Please login to merge, or discard this patch.
src/Core/Updates.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
 
5 5
 trait Updates {
6 6
 
7
+    /**
8
+     * @param string $url
9
+     */
7 10
     abstract protected function exec_curl_request($url, $method);
8 11
 
9 12
     /**
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
         // Exec getUpdates
83 83
         $this->exec_curl_request('getUpdates?' . http_build_query($parameters)
84
-                                               . '&allowed_updates=' . json_encode($allowed_updates));
84
+                                                . '&allowed_updates=' . json_encode($allowed_updates));
85 85
 
86 86
     }
87 87
 
Please login to merge, or discard this patch.
src/Database/LongPolling.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * \brief (<i>Internal</i>)Get first update offset in redis.
24 24
      * \details Called by getUpdatesRedis to get the offset saved in redis or to get it from telegram and save it in redis.
25 25
      * @param $offset_key Name of the variable where the offset is saved on Redis
26
-     * @return Id of the first update to process.
26
+     * @return integer of the first update to process.
27 27
      */
28 28
     protected function getUpdateOffsetRedis(string $offset_key) : int {
29 29
 
Please login to merge, or discard this patch.
src/Localization/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      * \brief Load a localization file into the localized strings array.
34 34
      * @param $lang Language to load.
35 35
      * @param $dir Directory in which there are the JSON files.
36
-     * @return True if loaded. False if already loaded.
36
+     * @return boolean if loaded. False if already loaded.
37 37
      */
38 38
     protected function loadSingleLanguage(string $lang = 'en', $dir = './localization') : bool {
39 39
 
Please login to merge, or discard this patch.