mirror of
https://github.com/pestphp/pest.git
synced 2026-04-21 14:37:29 +02:00
upgrade to phpstan lvl 8
This commit is contained in:
@ -89,7 +89,7 @@ final class TestCaseMethodFactory
|
||||
$testCase->chains->chain($this);
|
||||
$method->chains->chain($this);
|
||||
|
||||
return call_user_func(Closure::bind($closure, $this, $this::class), ...func_get_args());
|
||||
return \Pest\Support\Closure::safeBind($closure, $this, $this::class)(...func_get_args());
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user