Passed
Push — master ( b3dc0d...3f2c08 )
by Luiz Kim
13:42 queued 11:26
created

PushMessage   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 1
dl 0
loc 6
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace ControleOnline\Message;
4
5
class PushMessage
6
{
7
    public function __construct(
8
        public readonly string $topic,
9
        public readonly array $data
10
    ) {
11
    }
12
}
13