mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Clean up code, remove unused methods.
This commit is contained in:
@@ -65,7 +65,7 @@ class ReportNewJournalsMail extends Mailable
|
||||
*/
|
||||
public function build(): self
|
||||
{
|
||||
$subject = $this->journals->count() === 1
|
||||
$subject = 1 === $this->journals->count()
|
||||
? 'Firefly III has created a new transaction'
|
||||
: sprintf(
|
||||
'Firefly III has created new %d transactions', $this->journals->count()
|
||||
|
Reference in New Issue
Block a user