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)