Skip to content

Commit

Permalink
fix alibaba exception method return types, fix docblock for param in …
Browse files Browse the repository at this point in the history
…categoryFactory
  • Loading branch information
Dominik-Czulak committed Feb 9, 2024
1 parent 6ad7ef8 commit 892d33b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Exception/AlibabaException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ public function __construct(
parent::__construct($message, $code, $previous);
}

public function getSubMessage(): string
public function getSubMessage(): ?string
{
return $this->subMessage;
}

public function getSubCode(): string
public function getSubCode(): ?string
{
return $this->subCode;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/CategoryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function createAttributeValue(array $data): CategoryAttributeValue
}

/**
* @param <string, mixed> $data
* @param array<string, mixed> $data
*/
public function createLevelAttribute(array $data): CategoryLevelAttribute
{
Expand Down

0 comments on commit 892d33b

Please sign in to comment.