Skip to content

Commit e89bd3d

Browse files
Try to fix the static files inherit doc issue
1 parent 9c079dc commit e89bd3d

File tree

1 file changed

+17
-11
lines changed
  • app/code/Magento/Integration/Model/ResourceModel/Oauth/Token

1 file changed

+17
-11
lines changed

app/code/Magento/Integration/Model/ResourceModel/Oauth/Token/RequestLog.php

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,17 @@ public function __construct(
4646
}
4747

4848
/**
49-
* {@inheritdoc}
49+
* @inheritdoc
5050
*/
5151
protected function _construct()
5252
{
5353
$this->_init('oauth_token_request_log', 'entity_id');
5454
}
5555

5656
/**
57-
* {@inheritdoc}
57+
* @inheritdoc
58+
* @param string $userName
59+
* @param int $userType
5860
*/
5961
public function getFailuresCount($userName, $userType)
6062
{
@@ -66,17 +68,19 @@ public function getFailuresCount($userName, $userType)
6668
->where('user_name = :user_name AND user_type = :user_type AND lock_expires_at > :expiration_time');
6769

6870
return (int)$this->getConnection()->fetchOne(
69-
$select,
70-
[
71-
'user_name' => $userName,
72-
'user_type' => $userType,
73-
'expiration_time' => $dateTime,
74-
]
71+
$select,
72+
[
73+
'user_name' => $userName,
74+
'user_type' => $userType,
75+
'expiration_time' => $dateTime,
76+
]
7577
);
7678
}
7779

7880
/**
79-
* {@inheritdoc}
81+
* @inheritdoc
82+
* @param string $userName
83+
* @param int $userType
8084
*/
8185
public function resetFailuresCount($userName, $userType)
8286
{
@@ -87,7 +91,9 @@ public function resetFailuresCount($userName, $userType)
8791
}
8892

8993
/**
90-
* {@inheritdoc}
94+
* @inheritdoc
95+
* @param string $userName
96+
* @param int $userType
9197
*/
9298
public function incrementFailuresCount($userName, $userType)
9399
{
@@ -111,7 +117,7 @@ public function incrementFailuresCount($userName, $userType)
111117
}
112118

113119
/**
114-
* {@inheritdoc}
120+
* @inheritdoc
115121
*/
116122
public function clearExpiredFailures()
117123
{

0 commit comments

Comments
 (0)