mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-03 19:30:49 +02:00
Add PHP 8.4 support to Smarty (#1084)
* Add nullable types * Removing deprecated E_STRICT constant from test suite. * Added PHP 8.4 RC1 as test image * PHP version bump in the README.md. * Added PHP 8.4 to CI * Add running tests for PHP 8.4
This commit is contained in:
committed by
GitHub
parent
ffc4415a4f
commit
bf87aee3f0
@@ -12,7 +12,7 @@
|
||||
|
||||
class Smarty_Resource_Db4 extends Smarty_Resource
|
||||
{
|
||||
public function populate(Smarty_Template_Source $source, Smarty_Internal_Template $_template = null)
|
||||
public function populate(Smarty_Template_Source $source, ?Smarty_Internal_Template $_template = null)
|
||||
{
|
||||
$source->filepath = 'db4:';
|
||||
$source->uid = sha1($source->resource);
|
||||
|
||||
Reference in New Issue
Block a user