Also check if it is not already absolute

This commit is contained in:
Barry vd. Heuvel
2013-06-08 23:02:34 +02:00
parent bae8be0dcd
commit d5e4b2ec73
@@ -151,7 +151,7 @@ class Collection extends \ArrayObject
return '';
}
if($this->shouldBeAbsolute($type)){
if($this->isRelativeType($type) && $this->shouldBeAbsolute($type)){
return self::OPERATOR_NAMESPACE . $type;
}