Add declaration and return types in Smarty engine
Description
Description
Details
Details
- Provenance
dereckson Authored on Jun 11 2023, 17:16 - Parents
- rZED8e2049bcf81a: Proofread Perso engine
- Branches
- Unknown
- Tags
Event Timeline
Comment Actions
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 | |