mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -33,7 +33,6 @@ use Illuminate\Support\Collection;
|
||||
*/
|
||||
trait AccountCollection
|
||||
{
|
||||
|
||||
/**
|
||||
* These accounts must not be included.
|
||||
*
|
||||
|
||||
@@ -32,7 +32,6 @@ use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
|
||||
*/
|
||||
trait AmountCollection
|
||||
{
|
||||
|
||||
/**
|
||||
* Get transactions with a specific amount.
|
||||
*
|
||||
|
||||
@@ -855,7 +855,7 @@ trait MetaCollection
|
||||
$filter = function (int $index, array $object) use ($list): bool {
|
||||
foreach ($object['transactions'] as $transaction) {
|
||||
foreach ($transaction['tags'] as $tag) {
|
||||
if (in_array($tag['name'], $list)) {
|
||||
if (in_array($tag['name'], $list, true)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,7 +100,6 @@ trait TimeCollection
|
||||
$this->postFilters[] = $filter;
|
||||
|
||||
return $this;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -430,7 +429,6 @@ trait TimeCollection
|
||||
{
|
||||
$this->query->whereMonth('transaction_journals.date', '>=', $month);
|
||||
return $this;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -441,7 +439,6 @@ trait TimeCollection
|
||||
{
|
||||
$this->query->whereMonth('transaction_journals.date', '<=', $month);
|
||||
return $this;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -718,7 +715,6 @@ trait TimeCollection
|
||||
};
|
||||
$this->postFilters[] = $filter;
|
||||
return $this;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -841,5 +837,4 @@ trait TimeCollection
|
||||
$this->query->whereYear('transaction_journals.date', '!=', $year);
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user