diff --git a/src/UseCases/ItemPropertiesToStrings/ItemPropertiesToStrings.php b/src/UseCases/ItemPropertiesToStrings/ItemPropertiesToStrings.php index 538b76d..00cc34c 100644 --- a/src/UseCases/ItemPropertiesToStrings/ItemPropertiesToStrings.php +++ b/src/UseCases/ItemPropertiesToStrings/ItemPropertiesToStrings.php @@ -70,7 +70,7 @@ private function changePropertyType( PropertyId $propertyId ): void { } if ( $property->getDataTypeId() !== self::ITEM_PROPERTY_TYPE ) { - throw new \RuntimeException( $propertyId->serialize() . ' has incorrect data type "' . $property->getDataTypeId() . '"' ); + throw new \RuntimeException( $propertyId->getSerialization() . ' has incorrect data type "' . $property->getDataTypeId() . '"' ); } $this->presenter->presentChangingPropertyType( $propertyId, $property->getDataTypeId(), self::STRING_PROPERTY_TYPE );