We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 4 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 77 | public function send($view) |
||
| 78 | { |
||
| 79 | $from = $this->from ?: '[email protected]'; |
||
| 80 | $header = $this->header ?: 'Coffeebreak CMS'; |
||
| 81 | $this->to = $this->to ?: account(); |
||
| 82 | |||
| 83 | Mail::send($view, ['email' => $this], function ($m) use ($header, $from) { |
||
| 84 | $m->from($from, $header); |
||
| 85 | |||
| 86 | $m->to($this->to->email())->subject($this->subject." on '".tenant()->domain."'"); |
||
|
|
|||
| 87 | }); |
||
| 90 |