Completed
Push — master ( e7cf63...507e89 )
by Danilo
03:27 queued 23s
created
src/Entities/InlineKeyboard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * @param $buttons Buttons passed as inizialization.
34 34
      * @return The object created with the buttons passed.
35 35
      */
36
-    public function __construct(\PhpBotFramework\Bot &$bot = null,
36
+    public function __construct(\PhpBotFramework\Bot & $bot = null,
37 37
                                 array $buttons = array()) {
38 38
 
39 39
         // Get bot reference
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     public function getBackButton($json_serialized = true) {
211 211
 
212 212
         // Create the button
213
-        $inline_keyboard = [ 'inline_keyboard' =>
213
+        $inline_keyboard = ['inline_keyboard' =>
214 214
             [
215 215
                 [
216 216
                     [
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     public function getBackSkipKeyboard($json_serialized = true) {
244 244
 
245 245
         // Create the keyboard
246
-        $inline_keyboard = [ 'inline_keyboard' =>
246
+        $inline_keyboard = ['inline_keyboard' =>
247 247
             [
248 248
                 [
249 249
                     [
Please login to merge, or discard this patch.
src/Commands/CommandHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,15 +5,15 @@
 block discarded – undo
5 5
 // Use to sort _command_types based on prior
6 6
 function sortingPrior($a, $b) {
7 7
 
8
-    if($a['prior'] > $b['prior'])
8
+    if ($a['prior'] > $b['prior'])
9 9
 
10 10
         return 1;
11 11
 
12
-    if($a['prior'] < $b['prior'])
12
+    if ($a['prior'] < $b['prior'])
13 13
 
14 14
         return -1;
15 15
 
16
-    if($a['prior'] == $b['prior'])
16
+    if ($a['prior'] == $b['prior'])
17 17
 
18 18
         return 0;
19 19
 
Please login to merge, or discard this patch.
src/Database/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     protected function mergeWithDefaults($params) {
29
-        $DEFAULTS = [ 'adapter' => 'mysql', 'host' => 'localhost' ];
29
+        $DEFAULTS = ['adapter' => 'mysql', 'host' => 'localhost'];
30 30
         return array_merge($DEFAULTS, $params);
31 31
     }
32 32
 
Please login to merge, or discard this patch.