diff --git a/src/Entity/Property/EnvironmentsPropertyAwareTrait.php b/src/Entity/Property/EnvironmentsPropertyAwareTrait.php index 1fd64d23..22eb7103 100644 --- a/src/Entity/Property/EnvironmentsPropertyAwareTrait.php +++ b/src/Entity/Property/EnvironmentsPropertyAwareTrait.php @@ -31,7 +31,7 @@ trait EnvironmentsPropertyAwareTrait * * @return string[] */ - public function getEnvironments(): ?array + public function getEnvironments(): array { return $this->environments; } diff --git a/src/Entity/Property/EnvironmentsPropertyInterface.php b/src/Entity/Property/EnvironmentsPropertyInterface.php index 4b728000..176723c3 100644 --- a/src/Entity/Property/EnvironmentsPropertyInterface.php +++ b/src/Entity/Property/EnvironmentsPropertyInterface.php @@ -26,7 +26,7 @@ interface EnvironmentsPropertyInterface /** * @return string[] */ - public function getEnvironments(): ?array; + public function getEnvironments(): array; /** * @param string ...$environments