mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -28,17 +28,6 @@ use FireflyIII\User;
|
||||
use Illuminate\Support\Collection;
|
||||
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 TransactionCurrency getDefaultCurrency()
|
||||
* @method TransactionCurrency getDefaultCurrencyByUser(User $user)
|
||||
*/
|
||||
class Amount extends Facade
|
||||
{
|
||||
/**
|
||||
|
@@ -26,15 +26,6 @@ namespace FireflyIII\Support\Facades;
|
||||
use FireflyIII\Models\Configuration;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* Class FireflyConfig.
|
||||
*
|
||||
* @method null|Configuration get($name, $default = null)
|
||||
* @method Configuration set(string $name, $value)
|
||||
* @method delete(string $name)
|
||||
* @method null|Configuration getFresh(string $name, $default = null)
|
||||
* @method Configuration put(string $name, $value)
|
||||
*/
|
||||
class FireflyConfig extends Facade
|
||||
{
|
||||
/**
|
||||
|
@@ -28,20 +28,6 @@ use FireflyIII\User;
|
||||
use Illuminate\Support\Collection;
|
||||
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 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
|
||||
{
|
||||
public function __construct()
|
||||
|
@@ -28,21 +28,6 @@ use FireflyIII\Models\Account;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* Class Steam.
|
||||
*
|
||||
* @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 decrypt(int $isEncrypted, string $value)
|
||||
* @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
|
||||
{
|
||||
/**
|
||||
|
Reference in New Issue
Block a user