@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | use IlluminateAgnostic\Collection\Support\Debug\Dumper; |
7 | 7 | use Illuminate\Support\Collection as IlluminateCollection; |
8 | 8 | |
9 | -if (! function_exists('collect')) { |
|
9 | +if (!function_exists('collect')) { |
|
10 | 10 | /** |
11 | 11 | * Create a collection from the given value. |
12 | 12 | * |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | } |
20 | 20 | } |
21 | 21 | |
22 | -if (! function_exists('value')) { |
|
22 | +if (!function_exists('value')) { |
|
23 | 23 | /** |
24 | 24 | * Return the default value of the given value. |
25 | 25 | * |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | } |
33 | 33 | } |
34 | 34 | |
35 | -if (! function_exists('data_get')) { |
|
35 | +if (!function_exists('data_get')) { |
|
36 | 36 | /** |
37 | 37 | * Get an item from an array or object using "dot" notation. |
38 | 38 | * |
@@ -49,11 +49,11 @@ discard block |
||
49 | 49 | |
50 | 50 | $key = is_array($key) ? $key : explode('.', $key); |
51 | 51 | |
52 | - while (! is_null($segment = array_shift($key))) { |
|
52 | + while (!is_null($segment = array_shift($key))) { |
|
53 | 53 | if ($segment === '*') { |
54 | 54 | if ($target instanceof Collection) { |
55 | 55 | $target = $target->all(); |
56 | - } elseif (! is_array($target)) { |
|
56 | + } elseif (!is_array($target)) { |
|
57 | 57 | return value($default); |
58 | 58 | } |
59 | 59 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | |
79 | -if (! function_exists('with')) { |
|
79 | +if (!function_exists('with')) { |
|
80 | 80 | /** |
81 | 81 | * Return the given object. Useful for chaining. |
82 | 82 | * |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | } |
90 | 90 | } |
91 | 91 | |
92 | -if (! function_exists('dd')) { |
|
92 | +if (!function_exists('dd')) { |
|
93 | 93 | /** |
94 | 94 | * Dump the passed variables and end the script. |
95 | 95 | * |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | } |
106 | 106 | } |
107 | 107 | |
108 | -if (! function_exists('studly_case')) { |
|
108 | +if (!function_exists('studly_case')) { |
|
109 | 109 | /** |
110 | 110 | * Convert a value to studly caps case. |
111 | 111 | * |