We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b58c0 commit 797e936Copy full SHA for 797e936
src/Model/SourceLocation.php
@@ -37,7 +37,7 @@ public function __construct(string $message, string $path, int $line, array $con
37
*/
38
public static function createHere(string $message, array $context = []): self
39
{
40
- foreach (debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2) as $trace) {
+ foreach (debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2) as $trace) {
41
// File is not set if we call from an anonymous context like an array_map function.
42
if (isset($trace['file'])) {
43
break;
0 commit comments