HomeCode
Diffusion Zed 10b1a67c2ef7

Add declaration and return types in Smarty engine

Description

Add declaration and return types in Smarty engine

Details

Provenance
derecksonAuthored on Jun 11 2023, 17:16
Parents
rZED8e2049bcf81a: Proofread Perso engine
Branches
Unknown
Tags
Unknown

Event Timeline

do.php is broken by this change, at least for change location

/Engines/Templates/Smarty/Configuration.php
15
[11-Jun-2023 20:34:55 UTC] PHP Fatal error:  Uncaught Error: Typed property Zed\Engines\Templates\Smarty\Configuration::$theme must not be accessed before initialization in /var/51-wwwroot/zed/Engines/Templates/Smarty/Configuration.php:102
Stack trace:
#0 /var/51-wwwroot/zed/Engines/Templates/Smarty/Engine.php(53): Zed\Engines\Templates\Smarty\Configuration->getTemplateDirectory()
#1 /var/51-wwwroot/zed/Engines/Templates/Smarty/Engine.php(40): Zed\Engines\Templates\Smarty\Engine->buildDefaultSmarty()
#2 /var/51-wwwroot/zed/Engines/Templates/Smarty/Engine.php(25): Zed\Engines\Templates\Smarty\Engine->__construct()
#3 /var/51-wwwroot/zed/do.php(86): Zed\Engines\Templates\Smarty\Engine::load()
#4 {main}
  thrown in /var/51-wwwroot/zed/Engines/Templates/Smarty/Configuration.php on line 102