Skip to content

Commit d8efd14

Browse files
committed
refactor: add interim variable for Config
To jump to the Config class on IDE.
1 parent efd14d9 commit d8efd14

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

system/Common.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,9 @@ function view(string $name, array $data = [], array $options = []): string
11301130
/** @var CodeIgniter\View\View $renderer */
11311131
$renderer = Services::renderer();
11321132

1133-
$saveData = config(View::class)->saveData;
1133+
/** @var \CodeIgniter\Config\View $config */
1134+
$config = config(View::class);
1135+
$saveData = $config->saveData;
11341136

11351137
if (array_key_exists('saveData', $options)) {
11361138
$saveData = (bool) $options['saveData'];

0 commit comments

Comments
 (0)