mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 01:07:23 +01:00
feat: allows to use test calls on before each calls
This commit is contained in:
@ -104,8 +104,6 @@ final class Backtrace
|
||||
{
|
||||
$trace = debug_backtrace(self::BACKTRACE_OPTIONS)[1];
|
||||
|
||||
assert(array_key_exists('line', $trace));
|
||||
|
||||
return $trace['line'];
|
||||
return $trace['line'] ?? 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user