Passed
Push — master ( 96117c...663dbe )
by Sven
02:16
created
src/ArrayUtils.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      * Return the values from a single column in the input array
15 15
      *
16 16
      * @param array $input
17
-     * @param string|int $column_key
17
+     * @param string $column_key
18 18
      * @param string $index_key
19 19
      * @return null|array
20 20
      */
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * Returns the value of the first found key-name
85 85
      *
86 86
      * @param array $input
87
-     * @param array $keys
87
+     * @param string[] $keys
88 88
      * @param string $default
89 89
      * @return mixed
90 90
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,8 @@
 block discarded – undo
111 111
     {
112 112
         $return = [];
113 113
         $awr_func = $preserve_keys
114
-        ? function ($v, $k) use (&$return) {$return[$k] = $v;}
115
-        : function ($v) use (&$return) {$return[] = $v;}
114
+        ? function($v, $k) use (&$return) {$return[$k] = $v; }
115
+        : function($v) use (&$return) {$return[] = $v; }
116 116
         ;
117 117
         array_walk_recursive($input, $awr_func);
118 118
         return $return;
Please login to merge, or discard this patch.