Completed
Push — master ( 3845e2...a95f7d )
by Danilo
09:37
created
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.
src/Utilities/Paginator.php 1 patch
Spacing   +2 added lines, -8 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
 namespace PhpBotFramework\Utilities;
20 20
 
21
-<<<<<<< HEAD
21
+<< << <<< HEAD
22 22
 /**
23 23
  * \addtogroup Modules
24 24
  * @{
@@ -102,10 +102,4 @@  discard block
 block discarded – undo
102 102
             }
103 103
         }
104 104
 
105
-        return $message;
106
-    }
107
-}
108
-
109
-/*
110
- * @}
111
- */
105
+        return $message
112 106
\ No newline at end of file
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
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * @param CoreBot $bot References to the bot that's using the inline keyboard.
39 39
      * @param array $buttons Buttons passed as inizialization.
40 40
      */
41
-    public function __construct(CoreBot &$bot, array $buttons = array())
41
+    public function __construct(CoreBot & $bot, array $buttons = array())
42 42
     {
43 43
         $this->bot = $bot;
44 44
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     public function getBackButton(bool $json_serialized = true)
56 56
     {
57 57
         // Create the button
58
-        $inline_keyboard = [ 'inline_keyboard' =>
58
+        $inline_keyboard = ['inline_keyboard' =>
59 59
             [
60 60
                 [
61 61
                     [
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     public function getBackSkipKeyboard(bool $json_serialized = true)
91 91
     {
92 92
         // Create the keyboard
93
-        $inline_keyboard = [ 'inline_keyboard' =>
93
+        $inline_keyboard = ['inline_keyboard' =>
94 94
             [
95 95
                 [
96 96
                     [
Please login to merge, or discard this patch.
src/Entities/EntityAccess.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /** \brief Check that the given offset exists or not */
42 42
     public function offsetExists($offset)
43 43
     {
44
-<<<<<<< HEAD
44
+<< << <<< HEAD
45 45
         return isset($this->container[$offset]);
46 46
     }
47 47
 
@@ -63,6 +63,4 @@  discard block
 block discarded – undo
63 63
         }
64 64
 
65 65
         // If not return the data from the array after checking it is set
66
-        return isset($this->container[$offset]) ? $this->container[$offset] : null;
67
-    }
68
-}
66
+        return isset($this->container[$offset]) ? $this->container[$offset
69 67
\ No newline at end of file
Please login to merge, or discard this patch.