Skip to content

Commit b2f88af

Browse files
committed
style
1 parent 822b215 commit b2f88af

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Underscore.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function noop()
3131
/**
3232
* Run callable n times and create new collection.
3333
*
34-
* @param int $n
34+
* @param int $n
3535
* @param callable $fn
3636
*
3737
* @return self

src/UnderscoreArray.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function flatten()
122122
/**
123123
* Gets the unique items using the id resulted from callback.
124124
*
125-
* @param callback|string $fn The callback. String is resolved to value of that index.
125+
* @param callable|string $fn The callback. String is resolved to value of that index.
126126
*
127127
* @return self
128128
*/
@@ -143,7 +143,7 @@ public function unique($fn = null)
143143
/**
144144
* Alias of unique().
145145
*
146-
* @param callback|string $fn The callback. String is resolved to value of that index.
146+
* @param callable|string $fn The callback. String is resolved to value of that index.
147147
*
148148
* @return self
149149
*/
@@ -292,7 +292,7 @@ public function lastIndexOf($value)
292292
* Note that the initial stack must be sorted already.
293293
*
294294
* @param $object The new object which needs to be adjusted in stack.
295-
* @param callback|string $fn The comparator callback.
295+
* @param callable|string $fn The comparator callback.
296296
*
297297
* @return string|int|null
298298
*/

src/UnderscoreFunction.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ public function throttle(callable $fn, $wait)
8282
*
8383
* Note that last function is executed first.
8484
*
85-
* @param callable $fn1
86-
* @param callable $fn2
85+
* @param callable $fn1
86+
* @param callable $fn2
8787
* @param ...callable|null $fn3 And so on!
8888
*
8989
* @return mixed Final result value.

0 commit comments

Comments
 (0)