Skip to content

Commit 05f7a7c

Browse files
authored
Fix argument name of Enumerable::countBy. (#44775)
1 parent 9a1ac30 commit 05f7a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Collections/Enumerable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ public function count(): int;
11681168
* @param (callable(TValue, TKey): mixed)|string|null $countBy
11691169
* @return static<array-key, int>
11701170
*/
1171-
public function countBy($callback = null);
1171+
public function countBy($countBy = null);
11721172

11731173
/**
11741174
* Zip the collection together with one or more arrays.

0 commit comments

Comments
 (0)