Explorar o código

Fix for PHP 8.2 beta2

 PHP E_DEPRECATED: Creation of dynamic property is deprecated
Visman %!s(int64=3) %!d(string=hai) anos
pai
achega
22d7ed40fa
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      app/Core/View.php

+ 2 - 0
app/Core/View.php

@@ -16,6 +16,8 @@ use RuntimeException;
 
 class View extends Dirk
 {
+    protected $templates = [];
+
     public function __construct (string $cache, string $views)
     {
         $config = [