dever hace 3 años
padre
commit
f170783d07
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      lib/Doc.php

+ 3 - 1
lib/Doc.php

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