From 43e8fb07cc41a284fc3b1f6f67e5b02f7609e4af Mon Sep 17 00:00:00 2001 From: Dan Alloway Date: Wed, 13 May 2015 15:59:01 -0400 Subject: [PATCH] use late-static binding to new up the client class --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 1c751c7..2b2c5ba 100644 --- a/src/Client.php +++ b/src/Client.php @@ -69,7 +69,7 @@ class Client public static function instance($name = 'default') { if (! isset(self::$instances[$name])) { - self::$instances[$name] = new Client($name); + self::$instances[$name] = new static($name); } return self::$instances[$name]; }