From b892415ca3d37e355d1c3f6ef2baed6ab82db1f8 Mon Sep 17 00:00:00 2001 From: = Date: Sat, 2 Jun 2012 21:44:44 +0200 Subject: [PATCH] Fix for relative paths --- src/phpDocumentor/Reflection/DocBlock/Tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phpDocumentor/Reflection/DocBlock/Tag.php b/src/phpDocumentor/Reflection/DocBlock/Tag.php index 5068360..8016349 100644 --- a/src/phpDocumentor/Reflection/DocBlock/Tag.php +++ b/src/phpDocumentor/Reflection/DocBlock/Tag.php @@ -59,7 +59,7 @@ class Tag implements \Reflector $tag_name = str_replace( ' ', '', ucwords(str_replace('-', ' ', $matches[1])) ).'Tag'; - $class_name = '\\phpDocumentor\\Reflection\\DocBlock\\Tag\\' . $tag_name; + $class_name = 'phpDocumentor\\Reflection\\DocBlock\\Tag\\' . $tag_name; return (@class_exists($class_name)) ? new $class_name($matches[1], isset($matches[2]) ? $matches[2] : '')