fix some tests

This commit is contained in:
2024-09-04 18:30:18 +02:00
parent 2dd275a074
commit 3c9ee41b3b
5 changed files with 55 additions and 27 deletions

View File

@@ -261,6 +261,11 @@ class StoredObject implements Document, TrackCreationInterface
return $this->versions;
}
public function hasCurrentVersion(): bool
{
return null !== $this->getCurrentVersion();
}
public function hasTemplate(): bool
{
return null !== $this->template;