@@ -46,15 +46,17 @@ public function __construct(
46
46
}
47
47
48
48
/**
49
- * { @inheritdoc}
49
+ * @inheritdoc
50
50
*/
51
51
protected function _construct ()
52
52
{
53
53
$ this ->_init ('oauth_token_request_log ' , 'entity_id ' );
54
54
}
55
55
56
56
/**
57
- * {@inheritdoc}
57
+ * @inheritdoc
58
+ * @param string $userName
59
+ * @param int $userType
58
60
*/
59
61
public function getFailuresCount ($ userName , $ userType )
60
62
{
@@ -66,17 +68,19 @@ public function getFailuresCount($userName, $userType)
66
68
->where ('user_name = :user_name AND user_type = :user_type AND lock_expires_at > :expiration_time ' );
67
69
68
70
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
+ ]
75
77
);
76
78
}
77
79
78
80
/**
79
- * {@inheritdoc}
81
+ * @inheritdoc
82
+ * @param string $userName
83
+ * @param int $userType
80
84
*/
81
85
public function resetFailuresCount ($ userName , $ userType )
82
86
{
@@ -87,7 +91,9 @@ public function resetFailuresCount($userName, $userType)
87
91
}
88
92
89
93
/**
90
- * {@inheritdoc}
94
+ * @inheritdoc
95
+ * @param string $userName
96
+ * @param int $userType
91
97
*/
92
98
public function incrementFailuresCount ($ userName , $ userType )
93
99
{
@@ -111,7 +117,7 @@ public function incrementFailuresCount($userName, $userType)
111
117
}
112
118
113
119
/**
114
- * { @inheritdoc}
120
+ * @inheritdoc
115
121
*/
116
122
public function clearExpiredFailures ()
117
123
{
0 commit comments