Skip to content

Commit f30304c

Browse files
committed
lint: cs fix
1 parent 7dfa9ee commit f30304c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/UnderscoreArray.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class UnderscoreArray extends UnderscoreCollection
77
/**
88
* Get the first n items.
99
*
10-
* @param integer $n
10+
* @param int $n
1111
*
1212
* @return array
1313
*/
@@ -35,7 +35,7 @@ public function take($n = 1)
3535
/**
3636
* Get the last n items.
3737
*
38-
* @param integer $n
38+
* @param int $n
3939
*
4040
* @return array
4141
*/
@@ -65,8 +65,8 @@ public function drop($n = 1)
6565
*
6666
* @internal
6767
*
68-
* @param integer $n
69-
* @param boolean $isFirst From first if true, else last.
68+
* @param int $n
69+
* @param bool $isFirst From first if true, else last.
7070
*
7171
* @return array
7272
*/

src/UnderscoreCollection.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function foldr(callable $fn, $memo)
100100
* Find the first item (or index) that passes given truth test.
101101
*
102102
* @param callable $fn The truth test callback.
103-
* @param boolean $useValue Whether to return value or the index on match.
103+
* @param bool $useValue Whether to return value or the index on match.
104104
*
105105
* @return mixed|null
106106
*/
@@ -388,7 +388,7 @@ public function shuffle()
388388
/**
389389
* Get upto n items in random order.
390390
*
391-
* @param integer $n Number of items to include.
391+
* @param int $n Number of items to include.
392392
*
393393
* @return self
394394
*/

tests/UnderscoreArrayTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function test_difference_without()
7575
'difference'
7676
);
7777

78-
$this->assertSame(
78+
$this->assertSame(
7979
['a' => 3, 'b' => [4]],
8080
_::_($array)->without([1, 2])->get(),
8181
'without'

0 commit comments

Comments
 (0)