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