Completed
Push — master ( a95f7d...eaa6fe )
by Danilo
02:55
created
src/Localization/LocalizedString.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,15 +38,15 @@
 block discarded – undo
38 38
      */
39 39
 
40 40
     /** @internal
41
-      * \brief Reference to the bot. */
41
+     * \brief Reference to the bot. */
42 42
     protected $bot;
43 43
 
44 44
     /** @internal
45
-      * \brief Current user/group language. */
45
+     * \brief Current user/group language. */
46 46
     public $language;
47 47
 
48 48
     /** @internal
49
-      * \brief Store the localizated strings. */
49
+     * \brief Store the localizated strings. */
50 50
     protected $local;
51 51
 
52 52
     /**
Please login to merge, or discard this patch.
src/Localization/File.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
 
48 48
     /** @internal
49
-      * \brief Store the localized strings. */
49
+     * \brief Store the localized strings. */
50 50
     protected $local;
51 51
 
52 52
     /** \brief Source for localization files. */
Please login to merge, or discard this patch.
src/Localization/Localization.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
         // Get the language from the bot
64 64
         $sth = $pdo->prepare('SELECT language FROM ' . $this->user_table . ' WHERE '
65
-                                                           . $this->id_column . ' = :chat_id');
65
+                                                            . $this->id_column . ' = :chat_id');
66 66
 
67 67
         $chat_id = $this->bot->getChatID();
68 68
         $sth->bindParam(':chat_id', $chat_id);
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
         // Update the language in the database
97 97
         $sth = $pdo->prepare('UPDATE ' . $this->user_table . ' SET language = :language WHERE '
98
-                                             . $this->id_column . ' = :id');
98
+                                                . $this->id_column . ' = :id');
99 99
         $sth->bindParam(':language', $language);
100 100
 
101 101
         $chat_id = $this->bot->getChatID();
Please login to merge, or discard this patch.
src/Database/User.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     abstract protected function sanitizeUserTable();
39 39
 
40 40
     /** @internal
41
-      * \brief PDO connection to the database. */
41
+     * \brief PDO connection to the database. */
42 42
     public $pdo;
43 43
 
44 44
     /**
Please login to merge, or discard this patch.
src/BasicBot.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     use \PhpBotFramework\Commands\CommandHandler;
38 38
 
39 39
     /** @internal
40
-      * \brief True if the bot is using webhook? */
40
+     * \brief True if the bot is using webhook? */
41 41
     protected $_is_webhook;
42 42
 
43 43
     /**
Please login to merge, or discard this patch.
src/Core/Inline.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
     abstract protected function execRequest(string $url);
30 30
 
31 31
     /** @internal
32
-      * \brief Store ID of the callback query received. */
32
+     * \brief Store ID of the callback query received. */
33 33
     protected $_callback_query_id;
34 34
 
35 35
     /** @internal
36
-      * \brief Store ID of the inline query received. */
36
+     * \brief Store ID of the inline query received. */
37 37
     protected $_inline_query_id;
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
src/Core/Edit.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     abstract protected function execRequest(string $url);
28 28
 
29 29
     /** @internal
30
-      * \brief Contains parameters of the next request. */
30
+     * \brief Contains parameters of the next request. */
31 31
     protected $parameters;
32 32
 
33 33
     /**
Please login to merge, or discard this patch.
src/Core/CoreBot.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -324,27 +324,27 @@
 block discarded – undo
324 324
         Chat;
325 325
 
326 326
     /** @internal
327
-      * \brief Chat_id of the user that interacted with the bot. */
327
+     * \brief Chat_id of the user that interacted with the bot. */
328 328
     protected $_chat_id;
329 329
 
330 330
     /** @internal
331
-      * \brief Bot id. */
331
+     * \brief Bot id. */
332 332
     protected $_bot_id;
333 333
 
334 334
     /** @internal
335
-      * \brief API endpoint (containing $token). */
335
+     * \brief API endpoint (containing $token). */
336 336
     protected $_api_url;
337 337
 
338 338
     /** @internal
339
-      * \brief Implements interface for execute HTTP requests. */
339
+     * \brief Implements interface for execute HTTP requests. */
340 340
     protected $_http;
341 341
 
342 342
     /** @internal
343
-      * \brief Object of class PhpBotFramework\Entities\File that contain a path or resource to a file that has to be sent using Telegram API Methods. */
343
+     * \brief Object of class PhpBotFramework\Entities\File that contain a path or resource to a file that has to be sent using Telegram API Methods. */
344 344
     protected $_file;
345 345
 
346 346
     /** \@internal
347
-      * brief Contains parameters of the next request. */
347
+     * brief Contains parameters of the next request. */
348 348
     protected $parameters;
349 349
 
350 350
     /**
Please login to merge, or discard this patch.
src/Core/Send.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     abstract protected function checkCurrentFile(TelegramFile $file);
36 36
 
37 37
     /** @internal
38
-      * \brief Contains parameters of the next request. */
38
+     * \brief Contains parameters of the next request. */
39 39
     protected $parameters;
40 40
 
41 41
     /**
Please login to merge, or discard this patch.