mirror of
https://github.com/pestphp/pest.git
synced 2026-03-05 23:37:22 +01:00
Fixes isset
This commit is contained in:
@ -293,7 +293,7 @@ trait Testable
|
||||
return $arguments;
|
||||
}
|
||||
|
||||
if (! $arguments[0] instanceof Closure) {
|
||||
if (! isset($arguments[0]) || ! $arguments[0] instanceof Closure) {
|
||||
return $arguments;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user