diff --git a/Entity/Content.php b/Entity/Content.php index 508fd88..0a61838 100644 --- a/Entity/Content.php +++ b/Entity/Content.php @@ -32,7 +32,7 @@ class Content */ private $parameters; /** - * @var string + * @var string|null * * @ORM\Column(name="filtered_parameters", type="text", nullable=true) */ @@ -96,10 +96,11 @@ public function getFilteredParameters(): string { return $this->filteredParameters; } + /** - * @param string $filteredParameters + * @param string|null $filteredParameters */ - public function setFilteredParameters(string $filteredParameters) + public function setFilteredParameters(?string $filteredParameters) { $this->filteredParameters = $filteredParameters; } diff --git a/composer.json b/composer.json index 2db84bd..c52a290 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "jorisdugue/h5p-bundle", - "version": "2.0.2", + "version": "2.1.0", "type": "symfony-bundle", "description": "H5P Bundle for Symfony 5, 6 and Symfony 7", "keywords": [