@@ -64,8 +64,6 @@ |
||
| 64 | 64 | * ``` |
| 65 | 65 | * |
| 66 | 66 | * @signature (*... -> a) -> [*] -> a |
| 67 | - * @param callable $fn |
|
| 68 | - * @param array $args |
|
| 69 | 67 | * @return mixed |
| 70 | 68 | */ |
| 71 | 69 | function apply() { |
@@ -11,8 +11,6 @@ discard block |
||
| 11 | 11 | * ``` |
| 12 | 12 | * |
| 13 | 13 | * @signature Number -> Number -> Number |
| 14 | - * @param int|float $x |
|
| 15 | - * @param int|float $y |
|
| 16 | 14 | * @return int|float |
| 17 | 15 | */ |
| 18 | 16 | function plus() { |
@@ -29,8 +27,6 @@ discard block |
||
| 29 | 27 | * ``` |
| 30 | 28 | * |
| 31 | 29 | * @signature Number -> Number -> Number |
| 32 | - * @param int|float $x |
|
| 33 | - * @param int|float $y |
|
| 34 | 30 | * @return int|float |
| 35 | 31 | */ |
| 36 | 32 | function minus() { |
@@ -63,8 +59,6 @@ discard block |
||
| 63 | 59 | * ``` |
| 64 | 60 | * |
| 65 | 61 | * @signature Number -> Number -> Number |
| 66 | - * @param int|float $x |
|
| 67 | - * @param int|float $y |
|
| 68 | 62 | * @return int|float |
| 69 | 63 | */ |
| 70 | 64 | function multiply() { |
@@ -81,8 +75,6 @@ discard block |
||
| 81 | 75 | * ``` |
| 82 | 76 | * |
| 83 | 77 | * @signature Number -> Number -> Number |
| 84 | - * @param int|float $x |
|
| 85 | - * @param int|float $y |
|
| 86 | 78 | * @return int|float |
| 87 | 79 | */ |
| 88 | 80 | function divide() { |
@@ -99,8 +91,6 @@ discard block |
||
| 99 | 91 | * ``` |
| 100 | 92 | * |
| 101 | 93 | * @signature Number -> Number -> Number |
| 102 | - * @param int|float $x |
|
| 103 | - * @param int|float $y |
|
| 104 | 94 | * @return int|float |
| 105 | 95 | */ |
| 106 | 96 | function modulo() { |
@@ -8,8 +8,6 @@ discard block |
||
| 8 | 8 | * Returns `$a && $b`. |
| 9 | 9 | * |
| 10 | 10 | * @signature Boolean -> Boolean -> Boolean |
| 11 | - * @param bool $a |
|
| 12 | - * @param bool $b |
|
| 13 | 11 | * @return bool |
| 14 | 12 | */ |
| 15 | 13 | function and_() { |
@@ -22,8 +20,6 @@ discard block |
||
| 22 | 20 | * Returns `$a || $b`. |
| 23 | 21 | * |
| 24 | 22 | * @signature Boolean -> Boolean -> Boolean |
| 25 | - * @param bool $a |
|
| 26 | - * @param bool $b |
|
| 27 | 23 | * @return bool |
| 28 | 24 | */ |
| 29 | 25 | function or_() { |
@@ -47,8 +43,6 @@ discard block |
||
| 47 | 43 | * Returns `$x == $y`. |
| 48 | 44 | * |
| 49 | 45 | * @signature * -> * -> Boolean |
| 50 | - * @param mixed $a |
|
| 51 | - * @param mixed $b |
|
| 52 | 46 | * @return bool |
| 53 | 47 | */ |
| 54 | 48 | function eq() { |
@@ -61,8 +55,6 @@ discard block |
||
| 61 | 55 | * Returns `$x != $y`. |
| 62 | 56 | * |
| 63 | 57 | * @signature * -> * -> Boolean |
| 64 | - * @param mixed $a |
|
| 65 | - * @param mixed $b |
|
| 66 | 58 | * @return bool |
| 67 | 59 | */ |
| 68 | 60 | function notEq() { |
@@ -75,8 +67,6 @@ discard block |
||
| 75 | 67 | * Returns `$x === $y`. |
| 76 | 68 | * |
| 77 | 69 | * @signature * -> * -> Boolean |
| 78 | - * @param mixed $a |
|
| 79 | - * @param mixed $b |
|
| 80 | 70 | * @return bool |
| 81 | 71 | */ |
| 82 | 72 | function eqq() { |
@@ -89,8 +79,6 @@ discard block |
||
| 89 | 79 | * Returns `$x !== $y`. |
| 90 | 80 | * |
| 91 | 81 | * @signature * -> * -> Boolean |
| 92 | - * @param mixed $a |
|
| 93 | - * @param mixed $b |
|
| 94 | 82 | * @return bool |
| 95 | 83 | */ |
| 96 | 84 | function notEqq() { |
@@ -103,8 +91,6 @@ discard block |
||
| 103 | 91 | * Returns `$x < $y`. |
| 104 | 92 | * |
| 105 | 93 | * @signature * -> * -> Boolean |
| 106 | - * @param mixed $a |
|
| 107 | - * @param mixed $b |
|
| 108 | 94 | * @return bool |
| 109 | 95 | */ |
| 110 | 96 | function lt() { |
@@ -117,8 +103,6 @@ discard block |
||
| 117 | 103 | * Returns `$x <= $y`. |
| 118 | 104 | * |
| 119 | 105 | * @signature * -> * -> Boolean |
| 120 | - * @param mixed $a |
|
| 121 | - * @param mixed $b |
|
| 122 | 106 | * @return bool |
| 123 | 107 | */ |
| 124 | 108 | function lte() { |
@@ -131,8 +115,6 @@ discard block |
||
| 131 | 115 | * Returns `$x > $y`. |
| 132 | 116 | * |
| 133 | 117 | * @signature * -> * -> Boolean |
| 134 | - * @param mixed $a |
|
| 135 | - * @param mixed $b |
|
| 136 | 118 | * @return bool |
| 137 | 119 | */ |
| 138 | 120 | function gt() { |
@@ -145,8 +127,6 @@ discard block |
||
| 145 | 127 | * Returns `$x >= $y`. |
| 146 | 128 | * |
| 147 | 129 | * @signature * -> * -> Boolean |
| 148 | - * @param mixed $a |
|
| 149 | - * @param mixed $b |
|
| 150 | 130 | * @return bool |
| 151 | 131 | */ |
| 152 | 132 | function gte() { |
@@ -94,6 +94,7 @@ discard block |
||
| 94 | 94 | * |
| 95 | 95 | * @param mixed $data |
| 96 | 96 | * @param array $operations |
| 97 | + * @param boolean $type |
|
| 97 | 98 | * @return Stream |
| 98 | 99 | */ |
| 99 | 100 | protected static function with ($data, $operations, $type) |
@@ -414,7 +415,6 @@ discard block |
||
| 414 | 415 | * |
| 415 | 416 | * @signature Stream(a) -> (String, ...) -> Stream(*) |
| 416 | 417 | * @param string $method |
| 417 | - * @param mixed|null $args... |
|
| 418 | 418 | * @return Stream |
| 419 | 419 | */ |
| 420 | 420 | public function call ($method) |
@@ -468,7 +468,6 @@ discard block |
||
| 468 | 468 | * |
| 469 | 469 | * @signature Stream(a) -> (String, ...) -> Stream(a) |
| 470 | 470 | * @param string $method |
| 471 | - * @param mixed|null $args... |
|
| 472 | 471 | * @return Stream |
| 473 | 472 | */ |
| 474 | 473 | public function run ($method) |
@@ -11,8 +11,6 @@ discard block |
||
| 11 | 11 | * ``` |
| 12 | 12 | * |
| 13 | 13 | * @signature String -> String -> [String] |
| 14 | - * @param string $delimiter |
|
| 15 | - * @param string $string |
|
| 16 | 14 | * @return array |
| 17 | 15 | */ |
| 18 | 16 | function split() { |
@@ -27,8 +25,6 @@ discard block |
||
| 27 | 25 | * ``` |
| 28 | 26 | * |
| 29 | 27 | * @signature String -> [String] -> String |
| 30 | - * @param string $glue |
|
| 31 | - * @param array $pieces |
|
| 32 | 28 | * @return string |
| 33 | 29 | */ |
| 34 | 30 | function join() { |
@@ -48,9 +44,6 @@ discard block |
||
| 48 | 44 | * ``` |
| 49 | 45 | * |
| 50 | 46 | * @signature String|[String] -> String -> String|[String] -> String |
| 51 | - * @param string $search |
|
| 52 | - * @param string $replacement |
|
| 53 | - * @param string $string |
|
| 54 | 47 | * @return string |
| 55 | 48 | */ |
| 56 | 49 | function replace() { |
@@ -66,9 +59,6 @@ discard block |
||
| 66 | 59 | * ``` |
| 67 | 60 | * |
| 68 | 61 | * @signature String -> String -> String -> String |
| 69 | - * @param string $pattern |
|
| 70 | - * @param string $replacement |
|
| 71 | - * @param string $string |
|
| 72 | 62 | * @return string |
| 73 | 63 | */ |
| 74 | 64 | function regReplace() { |
@@ -131,8 +121,6 @@ discard block |
||
| 131 | 121 | * ``` |
| 132 | 122 | * |
| 133 | 123 | * @signature String -> String -> String |
| 134 | - * @param string $delimiter |
|
| 135 | - * @param string $string |
|
| 136 | 124 | * @return string |
| 137 | 125 | */ |
| 138 | 126 | function snakeCase() { |
@@ -158,8 +146,6 @@ discard block |
||
| 158 | 146 | * ``` |
| 159 | 147 | * |
| 160 | 148 | * @signature String -> String -> Boolean |
| 161 | - * @param string $token |
|
| 162 | - * @param string $string |
|
| 163 | 149 | * @return bool |
| 164 | 150 | */ |
| 165 | 151 | function startsWith() { |
@@ -181,8 +167,6 @@ discard block |
||
| 181 | 167 | * ``` |
| 182 | 168 | * |
| 183 | 169 | * @signature String -> String -> Boolean |
| 184 | - * @param string $token |
|
| 185 | - * @param string $string |
|
| 186 | 170 | * @return bool |
| 187 | 171 | */ |
| 188 | 172 | function endsWith() { |
@@ -204,8 +188,6 @@ discard block |
||
| 204 | 188 | * ``` |
| 205 | 189 | * |
| 206 | 190 | * @signature String -> String -> Boolean |
| 207 | - * @param string $pattern |
|
| 208 | - * @param string $string |
|
| 209 | 191 | * @return bool |
| 210 | 192 | */ |
| 211 | 193 | function test() { |
@@ -225,8 +207,6 @@ discard block |
||
| 225 | 207 | * ``` |
| 226 | 208 | * |
| 227 | 209 | * @signature String -> String -> [String] |
| 228 | - * @param string $pattern |
|
| 229 | - * @param string $string |
|
| 230 | 210 | * @return array |
| 231 | 211 | */ |
| 232 | 212 | function match() { |
@@ -247,8 +227,6 @@ discard block |
||
| 247 | 227 | * ``` |
| 248 | 228 | * |
| 249 | 229 | * @signature String -> String -> Number |
| 250 | - * @param string $token |
|
| 251 | - * @param string $text |
|
| 252 | 230 | * @return int |
| 253 | 231 | */ |
| 254 | 232 | function occurences() { |
@@ -271,9 +249,6 @@ discard block |
||
| 271 | 249 | * ``` |
| 272 | 250 | * |
| 273 | 251 | * @signature String -> String -> String -> [String] |
| 274 | - * @param string $surrounders |
|
| 275 | - * @param string $separator |
|
| 276 | - * @param sring $text |
|
| 277 | 252 | * @return array |
| 278 | 253 | */ |
| 279 | 254 | function chunks() { |
@@ -36,8 +36,6 @@ discard block |
||
| 36 | 36 | * ``` |
| 37 | 37 | * |
| 38 | 38 | * @signature (a -> b) -> [a] -> [b] |
| 39 | - * @param callable $fn |
|
| 40 | - * @param array $array |
|
| 41 | 39 | * @return array |
| 42 | 40 | */ |
| 43 | 41 | function map() { |
@@ -55,8 +53,6 @@ discard block |
||
| 55 | 53 | * $numeric($array) // [1, 3] |
| 56 | 54 | * ``` |
| 57 | 55 | * @signature (a -> Boolean) -> [a] -> [a] |
| 58 | - * @param callable $fn |
|
| 59 | - * @param array $array |
|
| 60 | 56 | * @return array |
| 61 | 57 | */ |
| 62 | 58 | function filter() { |
@@ -80,9 +76,6 @@ discard block |
||
| 80 | 76 | * ``` |
| 81 | 77 | * |
| 82 | 78 | * @signature (* -> a -> *) -> * -> [a] -> * |
| 83 | - * @param callable $fn |
|
| 84 | - * @param mixed $initial |
|
| 85 | - * @param array $array |
|
| 86 | 79 | * @return array |
| 87 | 80 | */ |
| 88 | 81 | function reduce() { |
@@ -107,8 +100,6 @@ discard block |
||
| 107 | 100 | * ``` |
| 108 | 101 | * |
| 109 | 102 | * @signature (a -> *) -> [a] -> [a] |
| 110 | - * @param callable $fn |
|
| 111 | - * @param array $array |
|
| 112 | 103 | * @return array |
| 113 | 104 | */ |
| 114 | 105 | function each() { |
@@ -260,8 +251,6 @@ discard block |
||
| 260 | 251 | * ``` |
| 261 | 252 | * |
| 262 | 253 | * @signature (a -> Boolean) -> [a] -> Boolean |
| 263 | - * @param callable $predicate |
|
| 264 | - * @param array $array |
|
| 265 | 254 | * @return bool |
| 266 | 255 | */ |
| 267 | 256 | function all() { |
@@ -281,8 +270,6 @@ discard block |
||
| 281 | 270 | * ``` |
| 282 | 271 | * |
| 283 | 272 | * @signature (a -> Boolean) -> [a] -> Boolean |
| 284 | - * @param callable $predicate |
|
| 285 | - * @param array $array |
|
| 286 | 273 | * @return bool |
| 287 | 274 | */ |
| 288 | 275 | function any() { |
@@ -301,8 +288,6 @@ discard block |
||
| 301 | 288 | * ``` |
| 302 | 289 | * |
| 303 | 290 | * @signature [*] -> [*] -> [*] |
| 304 | - * @param array $array1 |
|
| 305 | - * @param array $array2 |
|
| 306 | 291 | * @return array |
| 307 | 292 | */ |
| 308 | 293 | function concat() { |
@@ -323,8 +308,6 @@ discard block |
||
| 323 | 308 | * |
| 324 | 309 | * @signature * -> [*] -> [*] |
| 325 | 310 | * @signature String -> String -> String |
| 326 | - * @param mixed $item |
|
| 327 | - * @param array $array |
|
| 328 | 311 | * @return array |
| 329 | 312 | */ |
| 330 | 313 | function append() { |
@@ -345,8 +328,6 @@ discard block |
||
| 345 | 328 | * |
| 346 | 329 | * @signature * -> [*] -> [*] |
| 347 | 330 | * @signature String -> String -> String |
| 348 | - * @param mixed $item |
|
| 349 | - * @param array $array |
|
| 350 | 331 | * @return array |
| 351 | 332 | */ |
| 352 | 333 | function prepend() { |
@@ -372,8 +353,6 @@ discard block |
||
| 372 | 353 | * |
| 373 | 354 | * @signature Number -> [a] -> [a] |
| 374 | 355 | * @signature Number -> String -> String |
| 375 | - * @param int $count |
|
| 376 | - * @param array $array |
|
| 377 | 356 | * @return array |
| 378 | 357 | */ |
| 379 | 358 | function take() { |
@@ -411,8 +390,6 @@ discard block |
||
| 411 | 390 | * |
| 412 | 391 | * @signature Number -> [a] -> [a] |
| 413 | 392 | * @signature Number -> String -> String |
| 414 | - * @param int $count |
|
| 415 | - * @param array $array |
|
| 416 | 393 | * @return array |
| 417 | 394 | */ |
| 418 | 395 | function remove() { |
@@ -464,8 +441,6 @@ discard block |
||
| 464 | 441 | * ``` |
| 465 | 442 | * |
| 466 | 443 | * @signature (a -> [b]) -> [a] -> [b] |
| 467 | - * @param callable $fn |
|
| 468 | - * @param array $array |
|
| 469 | 444 | * @return array |
| 470 | 445 | */ |
| 471 | 446 | function chain() { |
@@ -488,8 +463,6 @@ discard block |
||
| 488 | 463 | * |
| 489 | 464 | * @signature Number -> [a] -> [[a]] |
| 490 | 465 | * @signature Number -> String -> [String] |
| 491 | - * @param int $size |
|
| 492 | - * @param array $array |
|
| 493 | 466 | * @return array |
| 494 | 467 | */ |
| 495 | 468 | function slices() { |
@@ -514,8 +487,6 @@ discard block |
||
| 514 | 487 | * |
| 515 | 488 | * @signature a -> [a] -> Boolean |
| 516 | 489 | * @signature String -> String -> Boolean |
| 517 | - * @param mixed $item |
|
| 518 | - * @param array|string $array |
|
| 519 | 490 | * @return bool |
| 520 | 491 | */ |
| 521 | 492 | function contains() { |