| Total Complexity | 20 |
| Total Lines | 160 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class FPT implements FPTInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @psalm-pure |
||
| 17 | */ |
||
| 18 | 1 | public static function arg(): Closure |
|
| 19 | { |
||
| 20 | 1 | return Arg::of(); |
|
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @psalm-pure |
||
| 25 | */ |
||
| 26 | 1 | public static function compose(): Closure |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @psalm-pure |
||
| 33 | */ |
||
| 34 | 1 | public static function current(): Closure |
|
| 35 | { |
||
| 36 | 1 | return Current::of(); |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @psalm-pure |
||
| 41 | */ |
||
| 42 | 1 | public static function curryLeft(): Closure |
|
| 43 | { |
||
| 44 | 1 | return CurryLeft::of(); |
|
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @psalm-pure |
||
| 49 | */ |
||
| 50 | 1 | public static function curryRight(): Closure |
|
| 51 | { |
||
| 52 | 1 | return CurryRight::of(); |
|
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @psalm-pure |
||
| 57 | */ |
||
| 58 | 1 | public static function end(): Closure |
|
| 59 | { |
||
| 60 | 1 | return End::of(); |
|
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @psalm-pure |
||
| 65 | */ |
||
| 66 | 1 | public static function filter(): Closure |
|
| 67 | { |
||
| 68 | 1 | return Filter::of(); |
|
| 69 | } |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @psalm-pure |
||
| 73 | */ |
||
| 74 | 1 | public static function flip(): Closure |
|
| 75 | { |
||
| 76 | 1 | return Flip::of(); |
|
| 77 | } |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @psalm-pure |
||
| 81 | */ |
||
| 82 | 1 | public static function fold(): Closure |
|
| 83 | { |
||
| 84 | 1 | return Fold::of(); |
|
| 85 | } |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @psalm-pure |
||
| 89 | */ |
||
| 90 | 1 | public static function identity(): Closure |
|
| 91 | { |
||
| 92 | 1 | return Identity::of(); |
|
| 93 | } |
||
| 94 | |||
| 95 | /** |
||
| 96 | * @psalm-pure |
||
| 97 | */ |
||
| 98 | 1 | public static function map(): Closure |
|
| 99 | { |
||
| 100 | 1 | return Map::of(); |
|
| 101 | } |
||
| 102 | |||
| 103 | /** |
||
| 104 | * @psalm-pure |
||
| 105 | */ |
||
| 106 | 1 | public static function nary(): Closure |
|
| 107 | { |
||
| 108 | 1 | return Nary::of(); |
|
| 109 | } |
||
| 110 | |||
| 111 | /** |
||
| 112 | * @psalm-pure |
||
| 113 | */ |
||
| 114 | 1 | public static function not(): Closure |
|
| 115 | { |
||
| 116 | 1 | return Not::of(); |
|
| 117 | } |
||
| 118 | |||
| 119 | /** |
||
| 120 | * @psalm-pure |
||
| 121 | */ |
||
| 122 | 1 | public static function operator(): Closure |
|
| 123 | { |
||
| 124 | 1 | return Operator::of(); |
|
| 125 | } |
||
| 126 | |||
| 127 | /** |
||
| 128 | * @psalm-pure |
||
| 129 | */ |
||
| 130 | 1 | public static function partialLeft(): Closure |
|
| 131 | { |
||
| 132 | 1 | return PartialLeft::of(); |
|
| 133 | } |
||
| 134 | |||
| 135 | /** |
||
| 136 | * @psalm-pure |
||
| 137 | */ |
||
| 138 | 1 | public static function partialRight(): Closure |
|
| 139 | { |
||
| 140 | 1 | return PartialRight::of(); |
|
| 141 | } |
||
| 142 | |||
| 143 | /** |
||
| 144 | * @psalm-pure |
||
| 145 | */ |
||
| 146 | 1 | public static function reduce(): Closure |
|
| 149 | } |
||
| 150 | |||
| 151 | /** |
||
| 152 | * @psalm-pure |
||
| 153 | */ |
||
| 154 | 2 | public static function reduction(): Closure |
|
| 155 | { |
||
| 156 | 2 | return Reduction::of(); |
|
| 157 | } |
||
| 158 | |||
| 159 | /** |
||
| 160 | * @psalm-pure |
||
| 161 | */ |
||
| 162 | 1 | public static function thunk(): Closure |
|
| 163 | { |
||
| 164 | 1 | return Thunk::of(); |
|
| 165 | } |
||
| 166 | |||
| 167 | /** |
||
| 168 | * @psalm-pure |
||
| 169 | */ |
||
| 170 | 1 | public static function uncurry(): Closure |
|
| 173 | } |
||
| 174 | } |
||
| 175 |