Просмотр исходного кода

Private methods cannot be final

andre 1 год назад
Родитель
Сommit
987ca8a09b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      core/Http/View/Smarty.php

+ 2 - 2
core/Http/View/Smarty.php

@@ -18,12 +18,12 @@ class Smarty
     private $templateDIR;
     private $lang;
 
-    final private function __construct()
+    private function __construct()
     {
         $this->smarty = new \Smarty();
     }
 
-    final private function __clone()
+    private function __clone()
     {
         
     }