Completed
Push — master ( cf0528...3845e2 )
by
unknown
03:55
created
src/Utilities/Paginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     public static function paginateItems(
47 47
         $items,
48 48
         int $index,
49
-        Keyboard &$keyboard,
49
+        Keyboard & $keyboard,
50 50
         callable $format_item,
51 51
         int $item_per_page = 3,
52 52
         string $prefix = 'list',
Please login to merge, or discard this patch.
src/Localization/Button.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * @param array $buttons Buttons passed as inizialization.
40 40
      */
41 41
     public function __construct(
42
-        CoreBot &$bot,
42
+        CoreBot & $bot,
43 43
         array $buttons = array()
44 44
     ) {
45 45
         // Set bot reference
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     public function getBackButton(bool $json_serialized = true)
59 59
     {
60 60
         // Create the button
61
-        $inline_keyboard = [ 'inline_keyboard' =>
61
+        $inline_keyboard = ['inline_keyboard' =>
62 62
             [
63 63
                 [
64 64
                     [
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     public function getBackSkipKeyboard(bool $json_serialized = true)
87 87
     {
88 88
         // Create the keyboard
89
-        $inline_keyboard = [ 'inline_keyboard' =>
89
+        $inline_keyboard = ['inline_keyboard' =>
90 90
             [
91 91
                 [
92 92
                     [
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
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      */
79 79
     protected function addDefaultValue(array $params) : array
80 80
     {
81
-        static $defaults = [ 'adapter' => PDO_DEFAULT_ADAPTER, 'host' => 'localhost', 'options' => [] ];
81
+        static $defaults = ['adapter' => PDO_DEFAULT_ADAPTER, 'host' => 'localhost', 'options' => []];
82 82
         return array_merge($defaults, $params);
83 83
     }
84 84
 
Please login to merge, or discard this patch.
examples/WhoAmIBot/Bot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 $bot = new WhoAmIBot('YOUR_BOT_TOKEN');
30 30
 
31 31
 // Add a welcome message
32
-$bot->addMessageCommand('start', function ($bot, $message) {
32
+$bot->addMessageCommand('start', function($bot, $message) {
33 33
   $bot->sendMessage('<strong>Hey there!</strong> Send or forward me a text message :)');
34 34
 });
35 35
 
Please login to merge, or discard this patch.