mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 14:41:20 +00:00
Code reordering and reformatting. I should really start employing style CI.
This commit is contained in:
@@ -69,7 +69,7 @@ class AccountFormRequest extends FormRequest
|
||||
if (false === $this->boolean('include_net_worth')) {
|
||||
$data['include_net_worth'] = '0';
|
||||
}
|
||||
if('0' === $data['opening_balance']) {
|
||||
if ('0' === $data['opening_balance']) {
|
||||
$data['opening_balance'] = '';
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -45,7 +45,7 @@ class ReconciliationStoreRequest extends FormRequest
|
||||
{
|
||||
$transactions = $this->get('journals');
|
||||
if (!is_array($transactions)) {
|
||||
$transactions = [];
|
||||
$transactions = [];
|
||||
}
|
||||
$data = [
|
||||
'start' => $this->date('start'),
|
||||
|
||||
@@ -37,7 +37,7 @@ class TestRuleFormRequest extends FormRequest
|
||||
|
||||
/**
|
||||
* Rules for this request.
|
||||
* See reference nr. 46
|
||||
* See reference nr. 46
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user