mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code reordering and reformatting. I should really start employing style CI.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user