We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81a3175 commit a33fb4dCopy full SHA for a33fb4d
src/Worker.php
@@ -709,7 +709,7 @@ protected static function init(): void
709
710
// Start file.
711
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
712
- static::$startFile ??= end($backtrace)['file'];
+ static::$startFile = static::$startFile ?: end($backtrace)['file'];
713
$startFilePrefix = basename(static::$startFile);
714
$startFileDir = dirname(static::$startFile);
715
0 commit comments