Completed
Push — dev ( a25222...cc464e )
by Gray
05:55
created

ApplicationRetrieved::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace App\Events;
4
5
use Illuminate\Queue\SerializesModels;
6
use App\Models\JobApplication;
7
8
class ApplicationRetrieved
0 ignored issues
show
Coding Style introduced by
Missing doc comment for class ApplicationRetrieved
Loading history...
9
{
10
    use SerializesModels;
0 ignored issues
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by App\Events\ApplicationRetrieved: $id, $class, $connection
Loading history...
11
12
    public $application;
13
14
    /**
0 ignored issues
show
Coding Style introduced by
Parameter $application should have a doc-comment as per coding-style.
Loading history...
15
     * Create a new event instance.
16
     *
17
     * @return void
18
     */
19
    public function __construct(JobApplication $application)
20
    {
21
        $this->application = $application;
22
    }
23
24
}
25