We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 990ea93 + 0e0c0e6 commit d4d2c8fCopy full SHA for d4d2c8f
src/app/Models/TwoStepAuth.php
@@ -116,12 +116,14 @@ public function user()
116
*/
117
public static function rules($merge = [])
118
{
119
- return array_merge([
120
- 'userId' => 'required|integer',
121
- 'authCode' => 'required|string|max:4|min:4',
122
- 'authCount' => 'required|integer',
123
- 'authStatus' => 'required|boolean',
124
- ],
125
- $merge);
+ return array_merge(
+ [
+ 'userId' => 'required|integer',
+ 'authCode' => 'required|string|max:4|min:4',
+ 'authCount' => 'required|integer',
+ 'authStatus' => 'required|boolean',
+ ],
126
+ $merge
127
+ );
128
}
129
0 commit comments