diff --git a/src/Common/ReflectedPropertyType.php~ b/src/Common/ReflectedPropertyType.php~ deleted file mode 100644 index de520f2..0000000 --- a/src/Common/ReflectedPropertyType.php~ +++ /dev/null @@ -1,26 +0,0 @@ -nullable) { - return true; - } - - return $this->type === $type; - } - - public function isObject() : bool - { - return ! $this->builtIn && class_exists($this->type); - } -} \ No newline at end of file diff --git a/src/Route/RouteFetcher.php b/src/Route/RouteFetcher.php index 169ae3b..14a8638 100644 --- a/src/Route/RouteFetcher.php +++ b/src/Route/RouteFetcher.php @@ -105,7 +105,6 @@ class RouteFetcher { $objectResolver = new ObjectResolver($class, $this->cache); if ( isset($attributes['object']) ) { - # Also loading Routes attribute from parent classes $objects = $objectResolver->reflectedClass->getClassAttributeListFromClassname($attributes['object'], true, false);