diff --git a/src/lib/Form/Data/ObjectState/ContentObjectStateUpdateData.php b/src/lib/Form/Data/ObjectState/ContentObjectStateUpdateData.php index 7b8dbbfe9c..58d78d51b0 100644 --- a/src/lib/Form/Data/ObjectState/ContentObjectStateUpdateData.php +++ b/src/lib/Form/Data/ObjectState/ContentObjectStateUpdateData.php @@ -21,7 +21,7 @@ class ContentObjectStateUpdateData /** @var \eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup|null */ private $objectStateGroup; - /** @var \eZ\Publish\API\Repository\Values\ObjectState\ObjectState|null rm -r*/ + /** @var \eZ\Publish\API\Repository\Values\ObjectState\ObjectState|null */ private $objectState; /** @var \eZ\Publish\API\Repository\Values\Content\Location|null */ diff --git a/src/lib/UI/Dataset/ObjectStatesDataset.php b/src/lib/UI/Dataset/ObjectStatesDataset.php index 31a31f8ed8..c06344661c 100644 --- a/src/lib/UI/Dataset/ObjectStatesDataset.php +++ b/src/lib/UI/Dataset/ObjectStatesDataset.php @@ -31,6 +31,7 @@ public function __construct(ObjectStateService $objectStateService, ValueFactory $this->objectStateService = $objectStateService; $this->valueFactory = $valueFactory; } + public function load(ContentInfo $contentInfo, Location $location): self { $data = array_map(