fly hace 4 años
padre
commit
84a88e7259
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Services/BaseConfig.php

+ 1 - 1
src/Services/BaseConfig.php

@@ -17,7 +17,7 @@ trait BaseConfig
     public function __get(string $name)
     {
         if (!isset($this->$name)) {
-            $this->$name = $this->$name();
+            return $this->$name();
         }
     }