mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-19 08:00:19 +00:00
Code reordering and reformatting. I should really start employing style CI.
This commit is contained in:
@@ -55,7 +55,7 @@ class ObjectGroupFormRequest extends FormRequest
|
||||
{
|
||||
/** @var ObjectGroup $objectGroup */
|
||||
$objectGroup = $this->route()->parameter('objectGroup');
|
||||
$titleRule = 'required|between:1,255|uniqueObjectGroup';
|
||||
$titleRule = 'required|between:1,255|uniqueObjectGroup';
|
||||
|
||||
if (null !== $objectGroup) {
|
||||
$titleRule = sprintf('required|between:1,255|uniqueObjectGroup:%d', $objectGroup->id);
|
||||
|
||||
Reference in New Issue
Block a user