Skip to content

Commit a33fb4d

Browse files
committed
Optimization
1 parent 81a3175 commit a33fb4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Worker.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ protected static function init(): void
709709

710710
// Start file.
711711
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
712-
static::$startFile ??= end($backtrace)['file'];
712+
static::$startFile = static::$startFile ?: end($backtrace)['file'];
713713
$startFilePrefix = basename(static::$startFile);
714714
$startFileDir = dirname(static::$startFile);
715715

0 commit comments

Comments
 (0)