- Deleted tmp file

This commit is contained in:
Dave Mc Nicoll committed 2026-10-22 15:19:44 +00:00
1 parent 886714704b
commit 9e110aa95e
2 files changed
-27

No files matched your search

-26
View File
@@ -1,26 +0,0 @@
<?php
namespace Notes\Common;
class ReflectedPropertyType
{
public function __construct(
public string $type,
public bool $builtIn,
public bool $nullable,
) {}
public function isType(string $type) : bool
{
if ($type === "null" || $this->nullable) {
return true;
}
return $this->type === $type;
}
public function isObject() : bool
{
return ! $this->builtIn && class_exists($this->type);
}
}
-1
View File
@@ -105,7 +105,6 @@ class RouteFetcher {
$objectResolver = new ObjectResolver($class, $this->cache); $objectResolver = new ObjectResolver($class, $this->cache);
if ( isset($attributes['object']) ) { if ( isset($attributes['object']) ) {
# Also loading Routes attribute from parent classes # Also loading Routes attribute from parent classes
$objects = $objectResolver->reflectedClass->getClassAttributeListFromClassname($attributes['object'], true, false); $objects = $objectResolver->reflectedClass->getClassAttributeListFromClassname($attributes['object'], true, false);