mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 19:01:58 +00:00
Code clean up.
This commit is contained in:
@@ -18,16 +18,12 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Http\Requests;
|
||||
|
||||
/**
|
||||
* Class UserFormRequest
|
||||
*
|
||||
*
|
||||
* @package FireflyIII\Http\Requests
|
||||
* Class UserFormRequest.
|
||||
*/
|
||||
class UserFormRequest extends Request
|
||||
{
|
||||
@@ -47,7 +43,7 @@ class UserFormRequest extends Request
|
||||
{
|
||||
return [
|
||||
'email' => $this->string('email'),
|
||||
'blocked' => $this->integer('blocked') === 1,
|
||||
'blocked' => 1 === $this->integer('blocked'),
|
||||
'blocked_code' => $this->string('blocked_code'),
|
||||
'password' => $this->string('password'),
|
||||
];
|
||||
|
Reference in New Issue
Block a user