Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:23:00 +01:00
parent b27fe59ab4
commit 1667b88dcd
154 changed files with 277 additions and 322 deletions

View File

@@ -37,7 +37,8 @@ use Illuminate\Validation\Validator;
*/
class UpdateRequest extends FormRequest
{
use ConvertsDataTypes, ChecksLogin;
use ConvertsDataTypes;
use ChecksLogin;
/**
* Get all data from the request.
@@ -87,7 +88,7 @@ class UpdateRequest extends FormRequest
'extension_date' => 'date|after:date',
'repeat_freq' => 'in:weekly,monthly,quarterly,half-year,yearly',
'skip' => 'between:0,31',
'active' => [new IsBoolean],
'active' => [new IsBoolean()],
'notes' => 'between:1,65536',
];
}