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 df8d3e9 commit b2ef168
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Collection.php
Expand Up @@ -224,11 +224,10 @@ public function duplicate(?callable $comparatorCallback = null, ?callable $acces
$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 b2ef168

Please sign in to comment.