From 5663498e6c6ad11581f78a499867f7a91cdbda06 Mon Sep 17 00:00:00 2001 From: Ricardo Vermeltfoort Date: Thu, 18 Apr 2024 12:33:51 +0200 Subject: [PATCH] Correct with object check --- src/Backtrace.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Backtrace.php b/src/Backtrace.php index 1a30ccd..717c217 100644 --- a/src/Backtrace.php +++ b/src/Backtrace.php @@ -145,7 +145,7 @@ protected function getRawFrames(): array $options = $options | DEBUG_BACKTRACE_IGNORE_ARGS; } - if ($this->withObject()) { + if ($this->withObject) { $options = $options | DEBUG_BACKTRACE_PROVIDE_OBJECT; }