diff --git a/Neos.Flow/Classes/Session/Data/SessionIdentifier.php b/Neos.Flow/Classes/Session/Data/SessionIdentifier.php index 0545ad460d..919562596b 100644 --- a/Neos.Flow/Classes/Session/Data/SessionIdentifier.php +++ b/Neos.Flow/Classes/Session/Data/SessionIdentifier.php @@ -23,7 +23,7 @@ class SessionIdentifier { private function __construct( - public /*readonly*/ $value + public readonly string $value ) { } diff --git a/Neos.Flow/Classes/Session/Data/SessionMetaData.php b/Neos.Flow/Classes/Session/Data/SessionMetaData.php index ebbebc7d4b..2ca5403d01 100644 --- a/Neos.Flow/Classes/Session/Data/SessionMetaData.php +++ b/Neos.Flow/Classes/Session/Data/SessionMetaData.php @@ -27,10 +27,10 @@ class SessionMetaData * @param string[] $tags */ public function __construct( - public /** readonly */ SessionIdentifier $sessionIdentifier, - public /** readonly */ StorageIdentifier $storageIdentifier, - public /** readonly */ int $lastActivityTimestamp, - public /** readonly */ array $tags + public readonly SessionIdentifier $sessionIdentifier, + public readonly StorageIdentifier $storageIdentifier, + public readonly int $lastActivityTimestamp, + public readonly array $tags ) { } diff --git a/Neos.Flow/Classes/Session/Data/StorageIdentifier.php b/Neos.Flow/Classes/Session/Data/StorageIdentifier.php index 580a40d4fb..fb3a769509 100644 --- a/Neos.Flow/Classes/Session/Data/StorageIdentifier.php +++ b/Neos.Flow/Classes/Session/Data/StorageIdentifier.php @@ -23,7 +23,7 @@ class StorageIdentifier { private function __construct( - public /*readonly*/ $value + public readonly string $value ) { }