Skip to content

Commit

Permalink
Changes for testcase errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarkhaire committed Jul 24, 2024
1 parent d492448 commit fb88581
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Entity/Property/AttributesPropertyAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ trait AttributesPropertyAwareTrait
/**
* {@inheritdoc}
*/
public function getAttributes(): AttributesProperty
public function getAttributes(): ?AttributesProperty
{
return $this->attributes;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Property/AttributesPropertyInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interface AttributesPropertyInterface
/**
* @return \Apigee\Edge\Structure\AttributesProperty
*/
public function getAttributes(): AttributesProperty;
public function getAttributes(): ?AttributesProperty;

/**
* @param \Apigee\Edge\Structure\AttributesProperty $attributes
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Property/EnvironmentsPropertyAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trait EnvironmentsPropertyAwareTrait
*
* @return string[]
*/
public function getEnvironments(): array
public function getEnvironments(): ?array
{
return $this->environments;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Property/EnvironmentsPropertyInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface EnvironmentsPropertyInterface
/**
* @return string[]
*/
public function getEnvironments(): array;
public function getEnvironments(): ?array;

/**
* @param string ...$environments
Expand Down

0 comments on commit fb88581

Please sign in to comment.