Code cleanup.

This commit is contained in:
James Cole
2023-12-20 19:35:52 +01:00
parent c4f6366642
commit 64ec0cf62e
997 changed files with 12908 additions and 28136 deletions

View File

@@ -27,14 +27,11 @@ use Illuminate\Support\Facades\Facade;
/**
* Class AccountForm.
*
*/
class AccountForm extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{

View File

@@ -31,11 +31,11 @@ use Illuminate\Support\Facades\Facade;
/**
* Class Amount.
*
* @method string formatAnything(TransactionCurrency $format, string $amount, bool $coloured = true)
* @method Collection getAllCurrencies()
* @method Collection getCurrencies()
* @method string getCurrencyCode()
* @method string getCurrencySymbol()
* @method string formatAnything(TransactionCurrency $format, string $amount, bool $coloured = true)
* @method Collection getAllCurrencies()
* @method Collection getCurrencies()
* @method string getCurrencyCode()
* @method string getCurrencySymbol()
* @method TransactionCurrency getDefaultCurrency()
* @method TransactionCurrency getDefaultCurrencyByUser(User $user)
*/
@@ -43,8 +43,6 @@ class Amount extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{

View File

@@ -27,14 +27,11 @@ use Illuminate\Support\Facades\Facade;
/**
* Class CurrencyForm.
*
*/
class CurrencyForm extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{

View File

@@ -32,8 +32,6 @@ class ExpandedForm extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{

View File

@@ -28,18 +28,17 @@ use Illuminate\Support\Facades\Facade;
/**
* Class FireflyConfig.
*
* @method null|Configuration get($name, $default = null)
* @method Configuration set(string $name, $value)
* @method Configuration set(string $name, $value)
* @method delete(string $name)
* @method Configuration|null getFresh(string $name, $default = null)
* @method Configuration put(string $name, $value)
* @method null|Configuration getFresh(string $name, $default = null)
* @method Configuration put(string $name, $value)
*/
class FireflyConfig extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{

View File

@@ -30,10 +30,10 @@ use Illuminate\Support\Facades\Facade;
* Class Navigation.
*
* @method Carbon addPeriod(Carbon $theDate, string $repeatFreq, int $skip)
* @method array blockPeriods(Carbon $start, Carbon $end, string $range)
* @method array blockPeriods(Carbon $start, Carbon $end, string $range)
* @method Carbon endOfPeriod(Carbon $end, string $repeatFreq)
* @method Carbon endOfX(Carbon $theCurrentEnd, string $repeatFreq, Carbon $maxDate = null)
* @method array listOfPeriods(Carbon $start, Carbon $end)
* @method array listOfPeriods(Carbon $start, Carbon $end)
* @method string periodShow(Carbon $theDate, string $repeatFrequency)
* @method string preferredCarbonFormat(Carbon $start, Carbon $end)
* @method string preferredCarbonLocalizedFormat(Carbon $start, Carbon $end)
@@ -49,8 +49,6 @@ class Navigation extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{

View File

@@ -27,14 +27,11 @@ use Illuminate\Support\Facades\Facade;
/**
* Class PiggyBankForm.
*
*/
class PiggyBankForm extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{

View File

@@ -31,16 +31,16 @@ use Illuminate\Support\Facades\Facade;
/**
* Class Preferences.
*
* @method Collection beginsWith(User $user, string $search)
* @method bool delete(string $name)
* @method Collection findByName(string $name)
* @method Preference get(string $name, $value = null)
* @method array getArrayForUser(User $user, array $list)
* @method Preference|null getForUser(User $user, string $name, $default = null)
* @method string lastActivity()
* @method void mark()
* @method Preference set(string $name, $value)
* @method Preference setForUser(User $user, string $name, $value)
* @method Collection beginsWith(User $user, string $search)
* @method bool delete(string $name)
* @method Collection findByName(string $name)
* @method Preference get(string $name, $value = null)
* @method array getArrayForUser(User $user, array $list)
* @method null|Preference getForUser(User $user, string $name, $default = null)
* @method string lastActivity()
* @method void mark()
* @method Preference set(string $name, $value)
* @method Preference setForUser(User $user, string $name, $value)
*/
class Preferences extends Facade
{
@@ -51,8 +51,6 @@ class Preferences extends Facade
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{

View File

@@ -27,14 +27,11 @@ use Illuminate\Support\Facades\Facade;
/**
* Class RuleForm.
*
*/
class RuleForm extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{

View File

@@ -33,24 +33,20 @@ use Illuminate\Support\Facades\Facade;
*
* @method string balance(Account $account, Carbon $date)
* @method string balanceIgnoreVirtual(Account $account, Carbon $date)
* @method array balanceInRange(Account $account, Carbon $start, Carbon $end)
* @method array balancesByAccounts(Collection $accounts, Carbon $date)
* @method array balanceInRange(Account $account, Carbon $start, Carbon $end)
* @method array balancesByAccounts(Collection $accounts, Carbon $date)
* @method decrypt(int $isEncrypted, string $value)
* @method array getLastActivities(array $accounts)
* @method string negative(string $amount)
* @method string|null opposite(string $amount = null)
* @method int phpBytes(string $string)
* @method string positive(string $amount)
* @method array balancesPerCurrencyByAccounts(Collection $accounts, Carbon $date)
*
* @method array getLastActivities(array $accounts)
* @method string negative(string $amount)
* @method null|string opposite(string $amount = null)
* @method int phpBytes(string $string)
* @method string positive(string $amount)
* @method array balancesPerCurrencyByAccounts(Collection $accounts, Carbon $date)
*/
class Steam extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{