upgrade to phpstan lvl 7

This commit is contained in:
Fabio Ivona
2021-11-15 22:20:00 +01:00
parent f2a9b73b83
commit f3f58c7f52
11 changed files with 22 additions and 11 deletions

View File

@ -77,7 +77,7 @@ final class HigherOrderMessage
*/
public function when(callable $condition): self
{
$this->condition = $condition;
$this->condition = Closure::fromCallable($condition);
return $this;
}