mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
storedObject: allow for null data in storedObject
This commit is contained in:
parent
5ae6c6397c
commit
3f47503528
@ -11,6 +11,8 @@ and this project adheres to
|
|||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
<!-- write down unreleased development here -->
|
<!-- write down unreleased development here -->
|
||||||
|
* [Documents] Validate storedObject and allow for null data (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/565)
|
||||||
|
|
||||||
* [Activity form] invert 'incoming' and 'receiving' in Activity form
|
* [Activity form] invert 'incoming' and 'receiving' in Activity form
|
||||||
* [Activity form] keep the same order for 'attendee' field in new and edit form
|
* [Activity form] keep the same order for 'attendee' field in new and edit form
|
||||||
* [list with period] use "sameas" test operator to introduce requestor in list
|
* [list with period] use "sameas" test operator to introduce requestor in list
|
||||||
@ -24,7 +26,7 @@ and this project adheres to
|
|||||||
* [Accompanying period work evaluations] list documents associated to a work by creation date, and then by id, from the most recent to older
|
* [Accompanying period work evaluations] list documents associated to a work by creation date, and then by id, from the most recent to older
|
||||||
* [Course comment] add validationConstraint NotNull and NotBlank on comment content, to avoid sql error
|
* [Course comment] add validationConstraint NotNull and NotBlank on comment content, to avoid sql error
|
||||||
* [Notifications] delay the sending of notificaiton to kernel.terminate
|
* [Notifications] delay the sending of notificaiton to kernel.terminate
|
||||||
* [Notifications / Period user change] fix the sending of notification when user changes
|
* [Notifications / Period user change] fix the sending of notification when user changes
|
||||||
|
|
||||||
## Test releases
|
## Test releases
|
||||||
|
|
||||||
|
@ -149,37 +149,37 @@ class StoredObject implements AsyncFileInterface, Document
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDatas(array $datas)
|
public function setDatas(?array $datas)
|
||||||
{
|
{
|
||||||
$this->datas = $datas;
|
$this->datas = (array) $datas;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setFilename($filename)
|
public function setFilename(?string $filename)
|
||||||
{
|
{
|
||||||
$this->filename = $filename;
|
$this->filename = (string) $filename;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIv($iv)
|
public function setIv(?array $iv)
|
||||||
{
|
{
|
||||||
$this->iv = $iv;
|
$this->iv = (array) $iv;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setKeyInfos($keyInfos)
|
public function setKeyInfos(?array $keyInfos)
|
||||||
{
|
{
|
||||||
$this->keyInfos = $keyInfos;
|
$this->keyInfos = (array) $keyInfos;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setType($type)
|
public function setType(?string $type)
|
||||||
{
|
{
|
||||||
$this->type = $type;
|
$this->type = (string) $type;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user