Skip to content

Commit 9c079dc

Browse files
sagar2009kumarBarny Shergold
and
Barny Shergold
authored
Updated the code style
Updated the code according to the standards of phpdocumenter with inheritdoc. Co-authored-by: Barny Shergold <[email protected]>
1 parent c76bbe6 commit 9c079dc

File tree

1 file changed

+8
-1
lines changed
  • app/code/Magento/Integration/Model/ResourceModel/Oauth/Token

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,14 @@ public function getFailuresCount($userName, $userType)
6565
$select->from($this->getMainTable(), 'failures_count')
6666
->where('user_name = :user_name AND user_type = :user_type AND lock_expires_at > :expiration_time');
6767

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

7178
/**

0 commit comments

Comments
 (0)