mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 02:38:55 +00:00
Convert validation rules to array syntax
This commit is contained in:
@@ -13,6 +13,8 @@ class Disable2faPasswordSecurityRequest extends FormRequest
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return ['current-password' => 'required'];
|
||||
return ['current-password' => [
|
||||
'required',
|
||||
],];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user