mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Add some method annotators, see if this helps with Scrutinizer issues.
This commit is contained in:
@@ -22,11 +22,15 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Support\Facades;
|
||||
|
||||
use FireflyIII\Models\TransactionCurrency;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* Class Amount.
|
||||
*
|
||||
* @method TransactionCurrency getDefaultCurrencyByUser(User $user)
|
||||
*/
|
||||
class Amount extends Facade
|
||||
{
|
||||
|
||||
@@ -27,6 +27,9 @@ use Illuminate\Support\Facades\Facade;
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* Class Navigation.
|
||||
*
|
||||
* @method array blockPeriods(\Carbon\Carbon $start, \Carbon\Carbon $end, string $range)
|
||||
* @method string periodShow(\Carbon\Carbon $theDate, string $repeatFrequency)
|
||||
*/
|
||||
class Navigation extends Facade
|
||||
{
|
||||
|
||||
@@ -22,11 +22,18 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Support\Facades;
|
||||
|
||||
use FireflyIII\Models\Preference;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* Class Preferences.
|
||||
*
|
||||
* @method Preference set(string $name, $value)
|
||||
* @method Preference get(string $name, $value)
|
||||
* @method Preference|null getForUser(User $user, string $name, $default)
|
||||
* @method void mark()
|
||||
*/
|
||||
class Preferences extends Facade
|
||||
{
|
||||
|
||||
@@ -27,6 +27,7 @@ use Illuminate\Support\Facades\Facade;
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* Class Steam.
|
||||
* @method string positive(string $amount)
|
||||
*/
|
||||
class Steam extends Facade
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user