Test Failed
Push — master ( 24a1f5...1bb6c6 )
by Ron
01:55
created

TestEmail::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace App\Mail;
4
5
use Illuminate\Bus\Queueable;
6
use Illuminate\Mail\Mailable;
7
use Illuminate\Queue\SerializesModels;
8
use Illuminate\Contracts\Queue\ShouldQueue;
9
10
class TestEmail extends Mailable
11
{
12
    use Queueable, SerializesModels;
1 ignored issue
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by App\Mail\TestEmail: $id, $class, $relations
Loading history...
13
14
    /**
15
     * Create a new message instance.
16
     *
17
     * @return void
18
     */
19
    public function __construct()
20
    {
21
        //
22
    }
23
24
    /**
25
     * Build the message.
26
     *
27
     * @return $this
28
     */
29
    public function build()
30
    {
31
        return $this->subject('Test Email From Tech Bench')->markdown('email.testEmail');
32
    }
33
}
34