@@ -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 | } |