diff --git a/Library/Think/Image.php b/Library/Think/Image.php index 90e837cb..3db9b3cc 100644 --- a/Library/Think/Image.php +++ b/Library/Think/Image.php @@ -54,9 +54,8 @@ class Image { } // 调用驱动类的方法 - static public function __callStatic($method, $params){ + static public function __callStatic($method, $params){ self::$im || self::init(); - return call_user_func_array([self::$im, $method], $params); - } - -} \ No newline at end of file + return call_user_func_array([self::$im, $method], $params); + } +}