diff --git a/Classes/Ttree/ContentRepositoryImporter/DataType/Integer.php b/Classes/Ttree/ContentRepositoryImporter/DataType/Integer.php index 2c45f1e..4807a8b 100644 --- a/Classes/Ttree/ContentRepositoryImporter/DataType/Integer.php +++ b/Classes/Ttree/ContentRepositoryImporter/DataType/Integer.php @@ -10,7 +10,7 @@ /** * String Data Type */ -class Integer extends String +class Integer extends StringValue { /** * @return integer diff --git a/Classes/Ttree/ContentRepositoryImporter/DataType/Slug.php b/Classes/Ttree/ContentRepositoryImporter/DataType/Slug.php index 1020b29..dcc792d 100644 --- a/Classes/Ttree/ContentRepositoryImporter/DataType/Slug.php +++ b/Classes/Ttree/ContentRepositoryImporter/DataType/Slug.php @@ -20,7 +20,7 @@ class Slug extends DataType */ protected function initializeValue($value) { - $value = new String($value); + $value = new StringValue($value); $slugify = new Slugify(); $this->value = $slugify->slugify($value->getValue()); } diff --git a/Classes/Ttree/ContentRepositoryImporter/DataType/String.php b/Classes/Ttree/ContentRepositoryImporter/DataType/StringValue.php similarity index 94% rename from Classes/Ttree/ContentRepositoryImporter/DataType/String.php rename to Classes/Ttree/ContentRepositoryImporter/DataType/StringValue.php index ca31d69..08d0a6c 100644 --- a/Classes/Ttree/ContentRepositoryImporter/DataType/String.php +++ b/Classes/Ttree/ContentRepositoryImporter/DataType/StringValue.php @@ -10,7 +10,7 @@ /** * String Data Type */ -class String extends DataType +class StringValue extends DataType { /** * @param string $value