dever 3 년 전
부모
커밋
297b80f509
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      lib/Doc.php

+ 1 - 3
lib/Doc.php

@@ -1,8 +1,6 @@
 <?php
 namespace Spider\Lib;
 use Dever;
-use Spider\Lib\Doc\Json;
-use Spider\Lib\Doc\Dom;
 
 class Doc
 {
@@ -127,7 +125,7 @@ class Doc
 
 	private function getClass()
 	{
-		return ucfirst($this->type);
+		return 'Spider\\Lib\\Doc\\' . ucfirst($this->type);
 	}
 
 	public function find($doc, $rule)