Commit fac41832 authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller
Browse files

Relaxed ReturnTypes for public methods in zone

parent c9be42fa
Pipeline #19560 passed with stage
in 2 minutes and 35 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