Code Duplication    Length = 4-4 lines in 3 locations

src/Internal/_functions.php 3 locations

@@ 197-200 (lines=4) @@
194
195
        $a = &$args[0]; $b = &$args[1]; $c = &$args[2];
196
197
        if (_is_placeholder($a) && _is_placeholder($b))
198
            return _curry_two(function($_a, $_b) use($fn, &$c) {
199
                return $fn($_a, $_b, $c);
200
            });
201
        if (_is_placeholder($a))
202
            return _curry_one(function($_a) use($fn, &$b, &$c) {
203
                return $fn($_a, $b, $c);
@@ 201-204 (lines=4) @@
198
            return _curry_two(function($_a, $_b) use($fn, &$c) {
199
                return $fn($_a, $_b, $c);
200
            });
201
        if (_is_placeholder($a))
202
            return _curry_one(function($_a) use($fn, &$b, &$c) {
203
                return $fn($_a, $b, $c);
204
            });
205
        if (_is_placeholder($b))
206
            return _curry_one(function($_b) use($fn, &$a, &$c) {
207
                return $fn($a, $_b, $c);
@@ 205-208 (lines=4) @@
202
            return _curry_one(function($_a) use($fn, &$b, &$c) {
203
                return $fn($_a, $b, $c);
204
            });
205
        if (_is_placeholder($b))
206
            return _curry_one(function($_b) use($fn, &$a, &$c) {
207
                return $fn($a, $_b, $c);
208
            });
209
210
        return $fn($a, $b, $c);
211
    };