mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 01:16:46 -06:00
Some general code cleanup.
This commit is contained in:
parent
3a236456cd
commit
fcf16051a2
@ -14,7 +14,6 @@ use FireflyIII\Export\Entry;
|
||||
use FireflyIII\Models\ExportJob;
|
||||
use League\Csv\Writer;
|
||||
use SplFileObject;
|
||||
use Storage;
|
||||
|
||||
/**
|
||||
* Class CsvExporter
|
||||
|
@ -95,12 +95,13 @@ class AbnAmroDescription extends Specifix implements SpecifixInterface
|
||||
|
||||
// description and opposing account will be the same.
|
||||
$this->data['opposing-account-name'] = $matches[4];
|
||||
|
||||
if( $matches[1] == 'GEA' ) {
|
||||
$this->data['description'] = 'GEA ' . $matches[4];
|
||||
|
||||
if ($matches[1] == 'GEA') {
|
||||
$this->data['description'] = 'GEA ' . $matches[4];
|
||||
} else {
|
||||
$this->data['description'] = $matches[4];
|
||||
$this->data['description'] = $matches[4];
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,7 @@ interface HelpInterface
|
||||
public function getFromCache(string $key): string;
|
||||
|
||||
/**
|
||||
* @param string $language
|
||||
* @param string $route
|
||||
*
|
||||
* @return array
|
||||
|
@ -152,6 +152,8 @@ class CategoryController extends Controller
|
||||
*
|
||||
* @param CRI $repository
|
||||
*
|
||||
* @param ARI $accountRepository
|
||||
*
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function frontpage(CRI $repository, ARI $accountRepository)
|
||||
|
@ -222,7 +222,7 @@ class TagController extends Controller
|
||||
$subTitleIcon = 'fa-tag';
|
||||
$journals = $tag->transactionjournals()->expanded()->get(TransactionJournal::QUERYFIELDS);
|
||||
|
||||
return view('tags.show', compact('tag', 'subTitle', 'subTitleIcon','journals'));
|
||||
return view('tags.show', compact('tag', 'subTitle', 'subTitleIcon', 'journals'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -7,10 +7,15 @@ use FireflyIII\Models\RuleGroup;
|
||||
use FireflyIII\Rules\Processor;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
/**
|
||||
* Class ExecuteRuleGroupOnExistingTransactions
|
||||
*
|
||||
* @package FireflyIII\Jobs
|
||||
*/
|
||||
class ExecuteRuleGroupOnExistingTransactions extends Job implements ShouldQueue
|
||||
{
|
||||
use InteractsWithQueue, SerializesModels;
|
||||
@ -29,6 +34,7 @@ class ExecuteRuleGroupOnExistingTransactions extends Job implements ShouldQueue
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param RuleGroup $ruleGroup
|
||||
*/
|
||||
public function __construct(RuleGroup $ruleGroup)
|
||||
{
|
||||
|
@ -36,7 +36,9 @@ class MailError extends Job implements ShouldQueue
|
||||
* @param User $user
|
||||
* @param string $destination
|
||||
* @param string $ip
|
||||
* @param array $exception
|
||||
* @param array $exceptionData
|
||||
*
|
||||
* @internal param array $exception
|
||||
*/
|
||||
public function __construct(User $user, string $destination, string $ip, array $exceptionData)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user