|
@@ -7,7 +7,7 @@ trait BaseService
|
|
{
|
|
{
|
|
private static $_instance;
|
|
private static $_instance;
|
|
|
|
|
|
- public static function __callStatic($name, $arguments)
|
|
|
|
|
|
+ public function __callStatic($name, $arguments)
|
|
{
|
|
{
|
|
$name = preg_replace('/Static$/', '', $name);
|
|
$name = preg_replace('/Static$/', '', $name);
|
|
if (self::$_instance == null) {
|
|
if (self::$_instance == null) {
|