Skip to content

Commit

Permalink
Fixed phpstan errors (#5798)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia authored Jun 5, 2023
1 parent 40649d7 commit 25be1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@ public function filter(callable $callback = null): self
/**
* Apply the callback if the value is truthy.
*
* @param callable($this): $this $callback
* @param callable($this): $this $default
* @param callable($this, $value): $this $callback
* @param callable($this, $value): $this $default
* @return $this
*/
public function when(bool $value, callable $callback, callable $default = null): self
Expand Down

0 comments on commit 25be1f5

Please sign in to comment.