Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Improve code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Mar 1, 2021
1 parent 7172655 commit 2852f18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/WBWSMSModeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class WBWSMSModeExtension extends Extension {
* {@inheritDoc}
*/
public function getAlias(): string {
return static::EXTENSION_ALIAS;
return self::EXTENSION_ALIAS;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion EventListener/SMSModeEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected function beforeHandleEvent(): void {
$requestNormalizer->serialize($authentication);
} catch (InvalidArgumentException $ex) {

throw new RuntimeException(static::RUNTIME_EXCEPTION_MESSAGE, 500, $ex);
throw new RuntimeException(self::RUNTIME_EXCEPTION_MESSAGE, 500, $ex);
}
}

Expand Down

0 comments on commit 2852f18

Please sign in to comment.