Code cleanup.

This commit is contained in:
James Cole
2023-12-20 19:35:52 +01:00
parent c4f6366642
commit 64ec0cf62e
997 changed files with 12908 additions and 28136 deletions

View File

@@ -35,8 +35,6 @@ use Illuminate\Support\Collection;
* Class ReportNewJournalsMail.
*
* Sends a list of newly created journals to the user.
*
*/
class ReportNewJournalsMail extends Mailable
{
@@ -48,8 +46,6 @@ class ReportNewJournalsMail extends Mailable
/**
* ConfirmEmailChangeMail constructor.
*
* @param Collection $groups
*/
public function __construct(Collection $groups)
{
@@ -67,11 +63,11 @@ class ReportNewJournalsMail extends Mailable
return $this
->markdown('emails.report-new-journals')
->subject(trans_choice('email.new_journals_subject', $this->groups->count()));
->subject(trans_choice('email.new_journals_subject', $this->groups->count()))
;
}
/**
* @return void
* @throws FireflyException
*/
private function transform(): void