Commit 92553d1a authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller
Browse files

Merge branch 'develop' into 'master'

Relaxed ReturnTypes for public methods in zone

See merge request !2
parents 4b1c03c8 fac41832
Pipeline #19562 passed with stage
in 3 minutes and 29 seconds
......@@ -160,7 +160,7 @@ class Zone
/**
* @return string
*/
public function getName(): string
public function getName(): ?string
{
return $this->name;
}
......@@ -170,7 +170,7 @@ class Zone
*
* @return Zone
*/
public function setName(string $name): Zone
public function setName(?string $name): Zone
{
$this->name = $name;
......@@ -180,7 +180,7 @@ class Zone
/**
* @return string
*/
public function getType(): string
public function getType(): ?string
{
return $this->type;
}
......@@ -190,7 +190,7 @@ class Zone
*
* @return Zone
*/
public function setType(string $type): Zone
public function setType(?string $type): Zone
{
$this->type = $type;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment