mirror of
https://github.com/pestphp/pest.git
synced 2026-03-05 23:37:22 +01:00
upgrade to phpstan lvl 7
This commit is contained in:
@ -77,7 +77,7 @@ final class HigherOrderMessage
|
||||
*/
|
||||
public function when(callable $condition): self
|
||||
{
|
||||
$this->condition = $condition;
|
||||
$this->condition = Closure::fromCallable($condition);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user