Passed
Push — main ( f9e76f...2a9db7 )
by Michael
04:00
created

CouponIsOverLimit::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 0
dl 0
loc 4
ccs 1
cts 1
cp 1
rs 10
c 1
b 0
f 1
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace MichaelRubel\Couponables\Events;
6
7
use Illuminate\Queue\SerializesModels;
8
9
class CouponIsOverLimit
10
{
11
    use SerializesModels;
0 ignored issues
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by MichaelRubel\Couponables\Events\CouponIsOverLimit: $id, $relations, $class, $connection, $keyBy
Loading history...
12
13
    /**
14
     * @return void
15
     */
16 2
    public function __construct(
17
        private object $coupon,
18
        private object $redeemer
19
    ) {
20
    }
21
}
22