mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修正Tansform类一处错误
This commit is contained in:
@@ -16,7 +16,7 @@ class Transform {
|
|||||||
|
|
||||||
static private $handler = [];
|
static private $handler = [];
|
||||||
|
|
||||||
static private init($type){
|
static private function init($type){
|
||||||
if(!isset(self::$handler[$type])) {
|
if(!isset(self::$handler[$type])) {
|
||||||
$class = '\\Think\\Transform\\Driver\\' . ucwords($type);
|
$class = '\\Think\\Transform\\Driver\\' . ucwords($type);
|
||||||
self::$handler[$type] = new $class();
|
self::$handler[$type] = new $class();
|
||||||
|
|||||||
Reference in New Issue
Block a user