@@ -72,6 +72,6 @@ |
||
72 | 72 | */ |
73 | 73 | public function provides() |
74 | 74 | { |
75 | - return []; |
|
75 | + return [ ]; |
|
76 | 76 | } |
77 | 77 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if (! function_exists('urlsafe_base64_encode')) { |
|
3 | +if (!function_exists('urlsafe_base64_encode')) { |
|
4 | 4 | /** |
5 | 5 | * Encodes the given data with base64, and returns an URL-safe string. |
6 | 6 | * |
@@ -9,11 +9,11 @@ discard block |
||
9 | 9 | */ |
10 | 10 | function urlsafe_base64_encode($data) |
11 | 11 | { |
12 | - return strtr(base64_encode($data), ['+' => '-', '/' => '_', '=' => '']); |
|
12 | + return strtr(base64_encode($data), [ '+' => '-', '/' => '_', '=' => '' ]); |
|
13 | 13 | } |
14 | 14 | } |
15 | 15 | |
16 | -if (! function_exists('urlsafe_base64_decode')) { |
|
16 | +if (!function_exists('urlsafe_base64_decode')) { |
|
17 | 17 | /** |
18 | 18 | * Decodes a base64 encoded data. |
19 | 19 | * |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | } |
28 | 28 | } |
29 | 29 | |
30 | -if (! function_exists('mb_trim')) { |
|
30 | +if (!function_exists('mb_trim')) { |
|
31 | 31 | /** |
32 | 32 | * Strip whitespace (or other characters) from the beginning and end of a string. |
33 | 33 | * |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | } |
43 | 43 | } |
44 | 44 | |
45 | -if (! function_exists('string_value')) { |
|
45 | +if (!function_exists('string_value')) { |
|
46 | 46 | /** |
47 | 47 | * Converts any type to a string. |
48 | 48 | * |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | } |
68 | 68 | |
69 | -if (! function_exists('active')) { |
|
69 | +if (!function_exists('active')) { |
|
70 | 70 | /** |
71 | 71 | * Returns string 'active' if the current request URI matches the given patterns. |
72 | 72 | * |
@@ -74,6 +74,6 @@ discard block |
||
74 | 74 | */ |
75 | 75 | function active() |
76 | 76 | { |
77 | - return call_user_func_array([app('request'), 'is'], func_get_args()) ? 'active' : ''; |
|
77 | + return call_user_func_array([ app('request'), 'is' ], func_get_args()) ? 'active' : ''; |
|
78 | 78 | } |
79 | 79 | } |