In the Title value object, there are two constants to fix the length range of the string. However, this constants were used only in the Exception message and the if statement used harcoded values instead.
I replaced this harcoded value with the constants and change the value of the MAX_LENGTH to match the old hardcoded one.
PR information
Description
In the Title value object, there are two constants to fix the length range of the string. However, this constants were used only in the Exception message and the if statement used harcoded values instead.
I replaced this harcoded value with the constants and change the value of the MAX_LENGTH to match the old hardcoded one.