- speed and size optimizations

This commit is contained in:
uwetews
2015-10-18 04:54:09 +02:00
parent 8dc2a0af7c
commit c99fe144f6
4 changed files with 30 additions and 23 deletions

View File

@@ -65,10 +65,9 @@ class Smarty_Internal_SmartyTemplateCompiler extends Smarty_Internal_TemplateCom
* @param string $parser_class class name
* @param Smarty $smarty global instance
*/
public function __construct($lexer_class, $parser_class, $smarty)
public function __construct($lexer_class, $parser_class, Smarty $smarty)
{
$this->smarty = $smarty;
parent::__construct();
parent::__construct($smarty);
// get required plugins
$this->lexer_class = $lexer_class;
$this->parser_class = $parser_class;