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 753fe0e commit 73bf083Copy full SHA for 73bf083
system/View/ViewDecoratorTrait.php
@@ -12,6 +12,7 @@
12
namespace CodeIgniter\View;
13
14
use CodeIgniter\View\Exceptions\ViewException;
15
+use Config\View as ViewConfig;
16
17
trait ViewDecoratorTrait
18
{
@@ -21,7 +22,7 @@ trait ViewDecoratorTrait
21
22
*/
23
protected function decorateOutput(string $html): string
24
- $decorators = $this->config->decorators ?? \config(ViewConfig::class)->decorators;
25
+ $decorators = $this->config->decorators ?? config(ViewConfig::class)->decorators;
26
27
foreach ($decorators as $decorator) {
28
if (! is_subclass_of($decorator, ViewDecoratorInterface::class)) {
0 commit comments