mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
🤖 Auto commit for release 'develop' on 2025-08-01
This commit is contained in:
@@ -86,7 +86,7 @@ class CorrectsAmounts extends Command
|
||||
/** @var TransactionJournal $journal */
|
||||
foreach ($journals as $journal) {
|
||||
$repository->setUser($journal->user);
|
||||
$primary = Amount::getPrimaryCurrencyByUserGroup($journal->userGroup);
|
||||
$primary = Amount::getPrimaryCurrencyByUserGroup($journal->userGroup);
|
||||
|
||||
/** @var null|Transaction $source */
|
||||
$source = $journal->transactions()->where('amount', '<', 0)->first();
|
||||
|
@@ -238,14 +238,14 @@ class OutputsInstructions extends Command
|
||||
|
||||
private function someQuote(): void
|
||||
{
|
||||
$lines = [
|
||||
$lines = [
|
||||
'Forgive yourself for not being at peace.',
|
||||
'Doesn\'t look like anything to me.',
|
||||
'Be proud of what you make.',
|
||||
'Be there or forever wonder.',
|
||||
'A year from now you will wish you had started today.'
|
||||
'A year from now you will wish you had started today.',
|
||||
];
|
||||
$random = random_int(0, count($lines)-1);
|
||||
$random = random_int(0, count($lines) - 1);
|
||||
$this->line(sprintf(' "%s"', $lines[$random]));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user