Skip to content

Commit e3daf7e

Browse files
committed
CABPI-396: Change public methods that are used only inside the class to private
1 parent dba248b commit e3daf7e

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/AdminAdobeIms/Model

1 file changed

+3
-3
lines changed

app/code/Magento/AdminAdobeIms/Model/Auth.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Auth extends BackendAuth
3232
public function loginByUsername(string $username): void
3333
{
3434
if (empty($username)) {
35-
self::throwException(
35+
parent::throwException(
3636
__($this->errorMessage)
3737
);
3838
}
@@ -51,7 +51,7 @@ public function loginByUsername(string $username): void
5151
}
5252

5353
if (!$this->getAuthStorage()->getUser()) {
54-
self::throwException(
54+
parent::throwException(
5555
__($this->errorMessage)
5656
);
5757
}
@@ -66,7 +66,7 @@ public function loginByUsername(string $username): void
6666
'backend_auth_user_login_failed',
6767
['user_name' => $username, 'exception' => $e]
6868
);
69-
self::throwException(
69+
parent::throwException(
7070
__(
7171
$e->getMessage()? : $this->errorMessage
7272
)

0 commit comments

Comments
 (0)