@@ -51,10 +51,10 @@ |
||
| 51 | 51 | 'author_id' => $command->author_id, |
| 52 | 52 | ]; |
| 53 | 53 | |
| 54 | - if($command->title) { |
|
| 54 | + if ($command->title) { |
|
| 55 | 55 | $data['title'] = $command->title; |
| 56 | 56 | } |
| 57 | - if($command->data) { |
|
| 57 | + if ($command->data) { |
|
| 58 | 58 | $data['data'] = $command->data; |
| 59 | 59 | } |
| 60 | 60 | // Link with the target. |
@@ -77,11 +77,11 @@ |
||
| 77 | 77 | 'token' => $subscriber->token, |
| 78 | 78 | 'unsubscribe_link' => route('subscribe.unsubscribe', ['code' => $subscriber->verify_code]), |
| 79 | 79 | ]; |
| 80 | - error_log(var_export($mail,true), 3, '/tmp/mail.log'); |
|
| 80 | + error_log(var_export($mail, true), 3, '/tmp/mail.log'); |
|
| 81 | 81 | $this->mailer->queue([ |
| 82 | 82 | 'html' => 'emails.issues.new-html', |
| 83 | 83 | 'text' => 'emails.issues.new-text', |
| 84 | - ], $mail, function (Message $message) use ($mail) { |
|
| 84 | + ], $mail, function(Message $message) use ($mail) { |
|
| 85 | 85 | $message->to($mail['email'])->subject($mail['subject']); |
| 86 | 86 | }); |
| 87 | 87 | } |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | public function handle(ProjectEventInterface $event) |
| 33 | 33 | { |
| 34 | - if($event instanceof ProjectWasUpdateEvent) { |
|
| 34 | + if ($event instanceof ProjectWasUpdateEvent) { |
|
| 35 | 35 | $action = Moment::UPDATED; |
| 36 | 36 | } else if ($event instanceof ProjectWasRemovedEvent) { |
| 37 | 37 | $action = Moment::CLOSED; |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @param int $action |
| 50 | 50 | * |
| 51 | 51 | */ |
| 52 | - protected function trigger(Project &$project, $action) |
|
| 52 | + protected function trigger(Project & $project, $action) |
|
| 53 | 53 | { |
| 54 | 54 | $data = [ |
| 55 | 55 | 'target_type' => 'Project', |