Skip to content

Commit 193cc0a

Browse files
committed
view() Optimization
1 parent 801e1a3 commit 193cc0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/support/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ function template_inputs(mixed $template, array $vars, ?string $app, ?string $pl
611611
$path = str_replace(['controller', 'Controller', '\\'], ['view', 'view', '/'], $controllerName);
612612
$path = strtolower(preg_replace('/([a-z])([A-Z])/', '$1_$2', $path));
613613
$action = $request->action;
614-
$backtrace = debug_backtrace();
614+
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
615615
foreach ($backtrace as $backtraceItem) {
616616
if (!isset($backtraceItem['class']) || !isset($backtraceItem['function'])) {
617617
continue;

0 commit comments

Comments
 (0)