Code reordering and reformatting. I should really start employing style CI.

This commit is contained in:
James Cole
2021-09-18 10:26:12 +02:00
parent 9b9d52e99f
commit 4003cea759
344 changed files with 2776 additions and 2605 deletions

View File

@@ -22,6 +22,7 @@
declare(strict_types=1);
namespace FireflyIII\Support\Form;
use FireflyIII\Models\Account;
use FireflyIII\Models\AccountType;
use FireflyIII\Repositories\Account\AccountRepositoryInterface;
@@ -33,8 +34,8 @@ use Throwable;
*
* All form methods that are account related.
*
* See reference nr. 29
* See reference nr. 30
* See reference nr. 29
* See reference nr. 30
*/
class AccountForm
{
@@ -160,6 +161,7 @@ class AccountForm
return $this->select($name, $grouped, $value, $options);
}
/**
* Same list but all liabilities as well.
*

View File

@@ -72,7 +72,7 @@ class CurrencyForm
unset($options['currency'], $options['placeholder']);
// perhaps the currency has been sent to us in the field $amount_currency_id_$name (amount_currency_id_amount)
$preFilled = session('preFilled');
$preFilled = session('preFilled');
if (!is_array($preFilled)) {
$preFilled = [];
}
@@ -105,7 +105,7 @@ class CurrencyForm
}
/**
* See reference nr. 23
* See reference nr. 23
*
* @param string $name
* @param mixed $value
@@ -119,7 +119,7 @@ class CurrencyForm
}
/**
* See reference nr. 24
* See reference nr. 24
*
* @param string $name
* @param string $view
@@ -174,7 +174,7 @@ class CurrencyForm
}
/**
* See reference nr. 25
* See reference nr. 25
*
* @param string $name
* @param mixed $value
@@ -199,7 +199,7 @@ class CurrencyForm
}
/**
* See reference nr. 26
* See reference nr. 26
*
* @param string $name
* @param mixed $value

View File

@@ -22,20 +22,21 @@
declare(strict_types=1);
namespace FireflyIII\Support\Form;
use FireflyIII\Models\PiggyBank;
use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface;
/**
* Class PiggyBankForm
*
* See reference nr. 27
* See reference nr. 27
*/
class PiggyBankForm
{
use FormSupport;
/**
* See reference nr. 28
* See reference nr. 28
*
* @param string $name
* @param mixed $value

View File

@@ -22,6 +22,7 @@
declare(strict_types=1);
namespace FireflyIII\Support\Form;
use FireflyIII\Models\RuleGroup;
use FireflyIII\Repositories\RuleGroup\RuleGroupRepositoryInterface;
use Form;
@@ -29,7 +30,7 @@ use Illuminate\Support\HtmlString;
/**
* Class RuleForm
* See reference nr. 31
* See reference nr. 31
*/
class RuleForm
{