Completed
Push — master ( 96ab65...e04c91 )
by Алексей
09:52
created
src/helpers.php 1 patch
Spacing   +2 added lines, -2 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
             }
Please login to merge, or discard this patch.