Completed
Push — master ( 253eb0...a11462 )
by
unknown
04:22
created
src/Core/Updates.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 
101 101
         // Exec getUpdates
102 102
         $this->execRequest('getUpdates?' . http_build_query($parameters)
103
-                                               . '&allowed_updates=' . json_encode($allowed_updates));
103
+                                                . '&allowed_updates=' . json_encode($allowed_updates));
104 104
     }
105 105
 
106 106
     /** @} */
Please login to merge, or discard this patch.
src/Database/LongPolling.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         $offset = $this->getUpdateOffsetRedis($offset_key);
96 96
         $this->initCommands();
97 97
 
98
-         // Process all updates received
98
+            // Process all updates received
99 99
         while (true) {
100 100
             $updates = $this->getUpdates($offset, $limit, $timeout);
101 101
 
Please login to merge, or discard this patch.
examples/EchoBot/Bot.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 require_once '../../vendor/autoload.php';
10 10
 
11 11
 class EchoBot extends PhpBotFramework\Bot {
12
-  // Override processMessage in order to send user the same message it give us.
13
-  protected function processMessage($message) {
12
+    // Override processMessage in order to send user the same message it give us.
13
+    protected function processMessage($message) {
14 14
     $this->sendMessage($message['text']);
15
-  }
15
+    }
16 16
 }
17 17
 
18 18
 $bot = new EchoBot('YOUR_BOT_TOKEN');
Please login to merge, or discard this patch.
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/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.