fly пре 4 година
родитељ
комит
84a88e7259
1 измењених фајлова са 1 додато и 1 уклоњено
  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();
         }
     }