mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 07:25:32 +01:00
Fixed some inspection issues.
This commit is contained in:
@@ -109,5 +109,7 @@ class EntityURLGenerator
|
||||
if ($entity instanceof NamedDBElement) {
|
||||
return sprintf('<a href="%s">%s</a>', $href, $entity->getName());
|
||||
}
|
||||
|
||||
throw new EntityNotSupported('The given entity is not supported yet!');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user