Skip to content

Commit

Permalink
adapt returning type
Browse files Browse the repository at this point in the history
  • Loading branch information
tyx committed Oct 19, 2023
1 parent c2bf93d commit 44ba41d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ interface MessageDeduplicationAwareInterface
* The max length of MessageDeduplicationId is 128 characters.
* Valid values: alphanumeric characters and punctuation (!"#$%&'()*+,-./:;<=>?@[]^_`{|}~).
*/
public function getMessageDeduplicationId(): string|null;
public function getMessageDeduplicationId(): ?string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ interface MessageGroupAwareInterface
* The max length of MessageGroupId is 128 characters.
* Valid values: alphanumeric characters and punctuation (!"#$%&'()*+,-./:;<=>?@[]^_`{|}~).
*/
public function getMessageGroupId(): string|null;
public function getMessageGroupId(): ?string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ public function __construct(
) {
}

public function getMessageDeduplicationId(): string|null
public function getMessageDeduplicationId(): ?string
{
return $this->messageDeduplicationId;
}

public function getMessageGroupId(): string|null
public function getMessageGroupId(): ?string
{
return $this->messageGroupId;
}
Expand All @@ -89,7 +89,7 @@ public function __construct(
) {
}

public function getMessageDeduplicationId(): string|null
public function getMessageDeduplicationId(): ?string
{
return $this->messageDeduplicationId;
}
Expand All @@ -102,7 +102,7 @@ public function __construct(
) {
}

public function getMessageGroupId(): string|null
public function getMessageGroupId(): ?string
{
return $this->messageGroupId;
}
Expand Down

0 comments on commit 44ba41d

Please sign in to comment.