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();
         }
     }