Skip to content

Commit

Permalink
Remove final keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Aug 24, 2024
1 parent 27ac6ac commit 4b78afe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Controller/AbstractAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected function isAllowed(): bool
return $this->config->isModuleEnabled();
}

final protected function forwardNoRoute(): ResultInterface
protected function forwardNoRoute(): ResultInterface
{
/** @var Forward $resultForward */
$resultForward = $this->resultFactory->create(ResultFactory::TYPE_FORWARD);
Expand Down
4 changes: 2 additions & 2 deletions Controller/AbstractGuest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ public function __construct(
parent::__construct($request, $resultFactory, $messageManager, $config);
}

final public function execute(): ResultInterface|ResponseInterface
public function execute(): ResultInterface|ResponseInterface
{
$result = $this->orderLoader->load($this->request);

return $result instanceof ResultInterface ? $result : parent::execute();
}

final protected function currentOrder(): OrderInterface
protected function currentOrder(): OrderInterface
{
return $this->registry->registry('current_order');
}
Expand Down

0 comments on commit 4b78afe

Please sign in to comment.