mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Code cleanup
This commit is contained in:
@@ -63,7 +63,7 @@ class MigrateAttachments extends Command
|
||||
/** @var Attachment $att */
|
||||
foreach ($attachments as $att) {
|
||||
// move description:
|
||||
$attDescription = (string)$att->description;
|
||||
$attDescription = (string) $att->description;
|
||||
if ('' !== $attDescription) {
|
||||
// find or create note:
|
||||
$note = $att->notes()->first();
|
||||
@@ -99,7 +99,7 @@ class MigrateAttachments extends Command
|
||||
{
|
||||
$configVar = app('fireflyconfig')->get(self::CONFIG_NAME, false);
|
||||
if (null !== $configVar) {
|
||||
return (bool)$configVar->data;
|
||||
return (bool) $configVar->data;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user