@@ -49,7 +49,7 @@ |
||
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 |
@@ -35,7 +35,7 @@ |
||
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 | } |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
||
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 | { |