Skip to content

Commit

Permalink
fix: remove unused parameter bind
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 3, 2023
1 parent 58fd5da commit df8d3e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,10 @@ public function distinct(?callable $comparatorCallback = null, ?callable $access
$accessorCallback ??=
/**
* @param T $value
* @param TKey $key
*
* @return T
*/
static fn (mixed $value, mixed $key): mixed => $value;
static fn (mixed $value): mixed => $value;

$comparatorCallback ??=
/**
Expand Down

0 comments on commit df8d3e9

Please sign in to comment.