Completed
Push — develop ( f7a4cb...1afc6f )
by Nate
01:55
created
src/Helpers/MapperHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public static function replaceKeys(array $array, array $keyMap): array
44 44
     {
45
-        array_walk($keyMap, function ($to, $from) use (&$array) {
45
+        array_walk($keyMap, function($to, $from) use (&$array) {
46 46
             $newKey = array_key_exists($from, $array) ? $to : false;
47 47
             if ($newKey !== false) {
48 48
                 $array[$to] = $array[$from];
Please login to merge, or discard this patch.
src/Helpers/ArgumentHelper.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      *
23 23
      * @param $transformer
24 24
      * @param array $params
25
-     * @return array
25
+     * @return callable
26 26
      */
27 27
     public static function closure(\Closure $transformer, array $params): array
28 28
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * @param callable $transformer
54 54
      * @param array $params
55 55
      * @param string $method
56
-     * @return array
56
+     * @return callable
57 57
      */
58 58
     public static function callable(callable $transformer, array $params, string $method = '__invoke'): array
59 59
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @param TransformerInterface $transformer
91 91
      * @param array $params
92
-     * @return array
92
+     * @return callable
93 93
      */
94 94
     public static function transformer(TransformerInterface $transformer, array $params): array
95 95
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * @param callable $transformer
127 127
      * @param array $params
128 128
      * @param string $method
129
-     * @return array
129
+     * @return callable
130 130
      * @throws \ReflectionException
131 131
      */
132 132
     public static function mergeCallable(callable $transformer, array $params, string $method = 'transform'): array
Please login to merge, or discard this patch.
src/Scope.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * Scope constructor.
40 40
      * @param Transform $transform
41 41
      * @param string|null $scopeIdentifier
42
-     * @param array $parentScopes
42
+     * @param string[] $parentScopes
43 43
      */
44 44
     public function __construct(
45 45
         Transform $transform,
Please login to merge, or discard this patch.