diff --git a/src/Presentation/Component/Property/Value/TextValue.php b/src/Presentation/Component/Property/Value/TextValue.php index 99d2b9ca..5f3ac1e8 100644 --- a/src/Presentation/Component/Property/Value/TextValue.php +++ b/src/Presentation/Component/Property/Value/TextValue.php @@ -21,7 +21,7 @@ class TextValue extends Value /** * ESCAPED-CHAR as defined in section 3.3.11. */ - private const ESCAPED_CHARACTERS = [ + private const array ESCAPED_CHARACTERS = [ '\\' => '\\\\', ';' => '\\;', ',' => '\\,', @@ -32,7 +32,7 @@ class TextValue extends Value /** * Non TSAFE-CHAR as described in section 3.3.11. */ - private const FORBIDDEN_CHARACTERS = [ + private const array FORBIDDEN_CHARACTERS = [ "\x00", "\x01", "\x02",