Completed
Push — master ( e04c91...437115 )
by Алексей
02:13
created
src/Entry/KeyboardButtonEntry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * @param bool $requestLocation
50 50
      * @return $this
51 51
      */
52
-    public function setRequestLocation($requestLocation){
52
+    public function setRequestLocation($requestLocation) {
53 53
         return $this->set('request_contact', $requestLocation);
54 54
     }
55 55
 }
56 56
\ No newline at end of file
Please login to merge, or discard this patch.
src/helpers.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 {
36 36
         function snake_case($value, $delimiter = '_')
37 37
         {
38
-        	$replace = '$1'.$delimiter.'$2';
39
-        	return ctype_lower($value) ? $value : strtolower(preg_replace('/(.)([A-Z])/', $replace, $value));
38
+            $replace = '$1'.$delimiter.'$2';
39
+            return ctype_lower($value) ? $value : strtolower(preg_replace('/(.)([A-Z])/', $replace, $value));
40 40
         }
41 41
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if ( ! function_exists('array_get'))
3
+if (!function_exists('array_get'))
4 4
 {
5 5
     /**
6 6
      * Get an item from an array using "dot" notation.
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
         foreach (explode('.', $key) as $segment)
20 20
         {
21
-            if ( ! is_array($array) || ! array_key_exists($segment, $array))
21
+            if (!is_array($array) || !array_key_exists($segment, $array))
22 22
             {
23 23
                 return value($default);
24 24
             }
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 }
32 32
 
33 33
 
34
-if ( ! function_exists('snake_case'))
34
+if (!function_exists('snake_case'))
35 35
 {
36 36
         function snake_case($value, $delimiter = '_')
37 37
         {
Please login to merge, or discard this patch.