diff --git a/Neos.Workspace.Ui/Classes/ViewModel/Sorting.php b/Neos.Workspace.Ui/Classes/ViewModel/Sorting.php index 1077eac307..ea880f2cc2 100644 --- a/Neos.Workspace.Ui/Classes/ViewModel/Sorting.php +++ b/Neos.Workspace.Ui/Classes/ViewModel/Sorting.php @@ -11,6 +11,9 @@ final readonly class Sorting implements \JsonSerializable, ProtectedContextAwareInterface { public function __construct( + /** + * @var 'title' + */ public string $sortBy, public bool $sortAscending ) { @@ -19,6 +22,9 @@ public function __construct( } } + /** + * @param array $array + */ public static function fromArray(array $array): self { return new self(