Skip to content

Commit 797e936

Browse files
committed
Add backslash for DEBUG_BACKTRACE_PROVIDE_OBJECT
1 parent 73b58c0 commit 797e936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/SourceLocation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(string $message, string $path, int $line, array $con
3737
*/
3838
public static function createHere(string $message, array $context = []): self
3939
{
40-
foreach (debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2) as $trace) {
40+
foreach (debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2) as $trace) {
4141
// File is not set if we call from an anonymous context like an array_map function.
4242
if (isset($trace['file'])) {
4343
break;

0 commit comments

Comments
 (0)