diff --git a/src/Shared/Service/NamespaceMapper.php b/src/Shared/Service/NamespaceMapper.php index a8edcd8..5f2f6f7 100644 --- a/src/Shared/Service/NamespaceMapper.php +++ b/src/Shared/Service/NamespaceMapper.php @@ -28,7 +28,6 @@ public function getTypeNamespaceMapping(): array { return [ self::SPACE . 'Shared\\DataType' => __DIR__ . '/../../Shared/DataType/', - self::SPACE . 'Theme\\DataType' => __DIR__ . '/../../Theme/DataType/', ]; } } diff --git a/src/Theme/DataType/ThemeDataType.php b/src/Theme/DataType/ThemeDataType.php deleted file mode 100644 index af6e7da..0000000 --- a/src/Theme/DataType/ThemeDataType.php +++ /dev/null @@ -1,56 +0,0 @@ -title; - } - - #[Field] - public function getIdentifier(): string - { - return $this->identifier; - } - - #[Field] - public function getVersion(): string - { - return $this->version; - } - - #[Field] - public function getDescription(): string - { - return $this->description; - } - - #[Field] - public function isActive(): bool - { - return $this->active; - } -} diff --git a/tests/Unit/Theme/DataType/ThemeDataTypeTest.php b/tests/Unit/Theme/DataType/ThemeDataTypeTest.php deleted file mode 100644 index 469be4e..0000000 --- a/tests/Unit/Theme/DataType/ThemeDataTypeTest.php +++ /dev/null @@ -1,36 +0,0 @@ -assertSame($name, $sut->getTitle()); - $this->assertSame($identifier, $sut->getIdentifier()); - $this->assertSame($version, $sut->getVersion()); - $this->assertSame($description, $sut->getDescription()); - $this->assertSame($active, $sut->isActive()); - } -}