Revert "Check namespace + class to see if it exists"

This reverts commit 7f729dc9a7.
This commit is contained in:
Barry vd. Heuvel
2022-10-31 16:13:13 +01:00
parent fe49c3d9ee
commit 6eafab0ff3
@@ -210,11 +210,7 @@ class Collection extends \ArrayObject
if ('' !== $namespace) {
$namespace .= self::OPERATOR_NAMESPACE;
}
$with_name_space = self::OPERATOR_NAMESPACE . $namespace . $type;
if($this->shouldBeAbsolute($with_name_space)){
return $with_name_space;
}
return $type;
return self::OPERATOR_NAMESPACE . $namespace . $type;
}
if (strpos($type_parts[0], '::')) {