From 6d182ff0614e1d83b7d9da7558bf9b7d45fcf2f8 Mon Sep 17 00:00:00 2001 From: Jaeger Date: Fri, 7 Dec 2018 00:35:58 +0800 Subject: [PATCH] remove instance --- src/QueryList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QueryList.php b/src/QueryList.php index b4c597f..5f7df09 100644 --- a/src/QueryList.php +++ b/src/QueryList.php @@ -65,7 +65,7 @@ class QueryList public static function __callStatic($name, $arguments) { - $instance = self::getInstance(); + $instance = new self(); return $instance->$name(...$arguments); }