Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-net committed Jan 3, 2025
1 parent ed289a0 commit 5e0ce29
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Model/Client/Request/Catalog/BuilderTemplateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class BuilderTemplateRequest extends Request
/**
* @return string
*/
public function getResponseType()
public function getResponseType(): string
{
return BuilderTemplateResponse::class;
}
Expand Down
6 changes: 5 additions & 1 deletion Model/Client/Request/ProductNavigationRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ public function setSortTemplateId($templateId)
return $this;
}

public function setBuilderTemplateId($templateId)
/**
* @param int|null $templateId
* @return ProductNavigationRequest
*/
public function setBuilderTemplateId($templateId): ProductNavigationRequest
{
$this->setParameter('tn_b', $templateId);
return $this;
Expand Down
2 changes: 1 addition & 1 deletion Model/Client/Response/Catalog/BuilderTemplateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class BuilderTemplateResponse extends Response
* @param TemplateType[]|array[] $templates
* @return $this
*/
public function setBuilder(array $templates)
public function setBuilder(array $templates): BuilderTemplateResponse
{
$templates = $this->normalizeArray($templates, 'builder');

Expand Down

0 comments on commit 5e0ce29

Please sign in to comment.