dever %!s(int64=3) %!d(string=hai) anos
pai
achega
f170783d07
Modificáronse 1 ficheiros con 3 adicións e 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)