mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-07 10:28:22 +00:00
Make request code more uniform.
This commit is contained in:
@@ -36,11 +36,10 @@ class UserFormRequest extends Request
|
||||
public function getUserData(): array
|
||||
{
|
||||
return [
|
||||
'email' => trim($this->get('email')),
|
||||
'blocked' => intval($this->get('blocked')),
|
||||
'blocked_code' => trim($this->get('blocked_code')),
|
||||
'password' => trim($this->get('password')),
|
||||
|
||||
'email' => $this->string('email'),
|
||||
'blocked' => $this->integer('blocked'),
|
||||
'blocked_code' => $this->string('blocked_code'),
|
||||
'password' => $this->string('password'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user