Fixed Memcached get connection instance typo in __callStatic method.
Signed-off-by: Rack Lin <racklin@gmail.com>
This commit is contained in:
@@ -68,7 +68,7 @@ class Memcached {
|
||||
*/
|
||||
public static function __callStatic($method, $parameters)
|
||||
{
|
||||
return call_user_func_array(array(static::instance(), $method), $parameters);
|
||||
return call_user_func_array(array(static::connection(), $method), $parameters);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user