Completed
Push — master ( d75616...4a3084 )
by Danilo
02:07
created
src/Utility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             $delimitator_end = '</' . $tag . '>';
64 64
 
65 65
             // For each username
66
-            for($i = 0; $i !== $count; $i++) {
66
+            for ($i = 0; $i !== $count; $i++) {
67 67
 
68 68
                 // Put the Delimitator_end before the username and the start one after it
69 69
                 $string = str_replace($usernames[$i], $delimitator_end . $usernames[$i] . $delimitator_start, $string);
Please login to merge, or discard this patch.
src/Bot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1069,7 +1069,7 @@
 block discarded – undo
1069 1069
         }
1070 1070
 
1071 1071
         // Iterate over all the row got
1072
-        while($user = $sth->fetch()) {
1072
+        while ($user = $sth->fetch()) {
1073 1073
 
1074 1074
             // Call getChat to know that this users haven't blocked the bot
1075 1075
             $user_data = $this->getChat($user[$this->id_column]);
Please login to merge, or discard this patch.
src/InlineKeyboard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * @param $buttons Buttons passed as inizialization.
28 28
      * @return The object created with the buttons passed.
29 29
      */
30
-    public function __construct(CoreBot &$bot = null, array $buttons = array()) {
30
+    public function __construct(CoreBot & $bot = null, array $buttons = array()) {
31 31
 
32 32
         $this->bot = $bot;
33 33
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     public function getBackButton($json_serialized = true) {
136 136
 
137 137
         // Create the button
138
-        $inline_keyboard = [ 'inline_keyboard' =>
138
+        $inline_keyboard = ['inline_keyboard' =>
139 139
             [
140 140
                 [
141 141
                     [
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     public function getBackSkipKeyboard($json_serialized = true) {
169 169
 
170 170
         // Create the keyboard
171
-        $inline_keyboard = [ 'inline_keyboard' =>
171
+        $inline_keyboard = ['inline_keyboard' =>
172 172
             [
173 173
                 [
174 174
                     [
Please login to merge, or discard this patch.
src/CoreBot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@
 block discarded – undo
340 340
         $bot_id = ($this->getMe())['id'];
341 341
 
342 342
         // If it is not valid
343
-        if(!isset($bot_id) || $bot_id == 0) {
343
+        if (!isset($bot_id) || $bot_id == 0) {
344 344
 
345 345
             // get it again
346 346
             $bot_id = ($this->getMe())['id'];
Please login to merge, or discard this patch.