mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
misc: Add return types.
This commit is contained in:
parent
325ab0daf3
commit
6ddbf35a7b
@ -109,12 +109,12 @@ class StoredObject implements AsyncFileInterface, Document
|
|||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIv()
|
public function getIv(): array
|
||||||
{
|
{
|
||||||
return $this->iv;
|
return $this->iv;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getKeyInfos()
|
public function getKeyInfos(): array
|
||||||
{
|
{
|
||||||
return $this->keyInfos;
|
return $this->keyInfos;
|
||||||
}
|
}
|
||||||
@ -163,21 +163,21 @@ class StoredObject implements AsyncFileInterface, Document
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIv($iv)
|
public function setIv(array $iv)
|
||||||
{
|
{
|
||||||
$this->iv = $iv;
|
$this->iv = $iv;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setKeyInfos($keyInfos)
|
public function setKeyInfos(array $keyInfos)
|
||||||
{
|
{
|
||||||
$this->keyInfos = $keyInfos;
|
$this->keyInfos = $keyInfos;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setType($type)
|
public function setType(string $type)
|
||||||
{
|
{
|
||||||
$this->type = $type;
|
$this->type = $type;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user