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

CouponIsOverQuantity   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 2
dl 0
loc 11
ccs 1
cts 1
cp 1
rs 10
c 1
b 0
f 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace MichaelRubel\Couponables\Events;
6
7
use Illuminate\Queue\SerializesModels;
8
9
class CouponIsOverQuantity
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...ts\CouponIsOverQuantity: $id, $relations, $class, $connection, $keyBy
Loading history...
12
13
    /**
14
     * @return void
15
     */
16 1
    public function __construct(
17
        private object $coupon,
18
        private object $redeemer
19
    ) {
20
    }
21
}
22