Przeglądaj źródła

Fix for PHP 8.2 beta2

 PHP E_DEPRECATED: Creation of dynamic property is deprecated
Visman 3 lat temu
rodzic
commit
22d7ed40fa
1 zmienionych plików z 2 dodań i 0 usunięć
  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 = [