mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 12:28:46 +00:00
Update reference to Steam
This commit is contained in:
@@ -39,7 +39,7 @@ trait AmountCollection
|
||||
{
|
||||
$this->query->where(
|
||||
static function (EloquentBuilder $q) use ($amount): void { // @phpstan-ignore-line
|
||||
$q->where('source.amount', app('steam')->negative($amount));
|
||||
$q->where('source.amount', \FireflyIII\Support\Facades\Steam::negative($amount));
|
||||
}
|
||||
);
|
||||
|
||||
@@ -50,7 +50,7 @@ trait AmountCollection
|
||||
{
|
||||
$this->query->where(
|
||||
static function (EloquentBuilder $q) use ($amount): void { // @phpstan-ignore-line
|
||||
$q->where('source.amount', '!=', app('steam')->negative($amount));
|
||||
$q->where('source.amount', '!=', \FireflyIII\Support\Facades\Steam::negative($amount));
|
||||
}
|
||||
);
|
||||
|
||||
@@ -64,7 +64,7 @@ trait AmountCollection
|
||||
{
|
||||
$this->query->where(
|
||||
static function (EloquentBuilder $q) use ($amount): void { // @phpstan-ignore-line
|
||||
$q->where('destination.amount', '<=', app('steam')->positive($amount));
|
||||
$q->where('destination.amount', '<=', \FireflyIII\Support\Facades\Steam::positive($amount));
|
||||
}
|
||||
);
|
||||
|
||||
@@ -78,7 +78,7 @@ trait AmountCollection
|
||||
{
|
||||
$this->query->where(
|
||||
static function (EloquentBuilder $q) use ($amount): void { // @phpstan-ignore-line
|
||||
$q->where('destination.amount', '>=', app('steam')->positive($amount));
|
||||
$q->where('destination.amount', '>=', \FireflyIII\Support\Facades\Steam::positive($amount));
|
||||
}
|
||||
);
|
||||
|
||||
@@ -93,7 +93,7 @@ trait AmountCollection
|
||||
$this->query->where(
|
||||
static function (EloquentBuilder $q) use ($amount): void { // @phpstan-ignore-line
|
||||
$q->whereNotNull('source.foreign_amount');
|
||||
$q->where('source.foreign_amount', app('steam')->negative($amount));
|
||||
$q->where('source.foreign_amount', \FireflyIII\Support\Facades\Steam::negative($amount));
|
||||
}
|
||||
);
|
||||
|
||||
@@ -108,7 +108,7 @@ trait AmountCollection
|
||||
$this->query->where(
|
||||
static function (EloquentBuilder $q) use ($amount): void { // @phpstan-ignore-line
|
||||
$q->whereNull('source.foreign_amount');
|
||||
$q->orWhere('source.foreign_amount', '!=', app('steam')->negative($amount));
|
||||
$q->orWhere('source.foreign_amount', '!=', \FireflyIII\Support\Facades\Steam::negative($amount));
|
||||
}
|
||||
);
|
||||
|
||||
@@ -123,7 +123,7 @@ trait AmountCollection
|
||||
$this->query->where(
|
||||
static function (EloquentBuilder $q) use ($amount): void { // @phpstan-ignore-line
|
||||
$q->whereNotNull('destination.foreign_amount');
|
||||
$q->where('destination.foreign_amount', '<=', app('steam')->positive($amount));
|
||||
$q->where('destination.foreign_amount', '<=', \FireflyIII\Support\Facades\Steam::positive($amount));
|
||||
}
|
||||
);
|
||||
|
||||
@@ -138,7 +138,7 @@ trait AmountCollection
|
||||
$this->query->where(
|
||||
static function (EloquentBuilder $q) use ($amount): void { // @phpstan-ignore-line
|
||||
$q->whereNotNull('destination.foreign_amount');
|
||||
$q->where('destination.foreign_amount', '>=', app('steam')->positive($amount));
|
||||
$q->where('destination.foreign_amount', '>=', \FireflyIII\Support\Facades\Steam::positive($amount));
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user