mirror of
https://github.com/pestphp/pest.git
synced 2026-12-03 22:45:06 +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