mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-17 20:08:52 +00:00
Code cleanup that (hopefully) matches style CI
This commit is contained in:
@@ -29,6 +29,7 @@ use Illuminate\Support\MessageBag;
|
||||
|
||||
/**
|
||||
* Class FakeJobConfiguration
|
||||
*
|
||||
* @deprecated
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
@@ -78,7 +79,7 @@ class FakeJobConfiguration implements JobConfigurationInterface
|
||||
$artist = strtolower($data['artist'] ?? '');
|
||||
$song = strtolower($data['song'] ?? '');
|
||||
$album = strtolower($data['album'] ?? '');
|
||||
$applyRules = isset($data['apply_rules']) ? 1 === (int)$data['apply_rules'] : null;
|
||||
$applyRules = isset($data['apply_rules']) ? 1 === (int) $data['apply_rules'] : null;
|
||||
$configuration = $this->importJob->configuration;
|
||||
if ('david bowie' === $artist) {
|
||||
// store artist
|
||||
@@ -118,8 +119,8 @@ class FakeJobConfiguration implements JobConfigurationInterface
|
||||
{
|
||||
return [
|
||||
'rulesOptions' => [
|
||||
1 => (string)trans('firefly.yes'),
|
||||
0 => (string)trans('firefly.no'),
|
||||
1 => (string) trans('firefly.yes'),
|
||||
0 => (string) trans('firefly.no'),
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user