Skip to content

Commit

Permalink
fix(chore): prevent crash with qcm
Browse files Browse the repository at this point in the history
bump to 2.1.0
  • Loading branch information
jorisdugue committed Jan 29, 2024
1 parent cb27f71 commit caa919e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Entity/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Content
*/
private $parameters;
/**
* @var string
* @var string|null
*
* @ORM\Column(name="filtered_parameters", type="text", nullable=true)
*/
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit caa919e

Please sign in to comment.