Passed
Push — master ( 2889cb...857ed5 )
by Melech
01:29
created

HostPortAccumulator::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 0
nc 1
nop 2
dl 0
loc 4
c 0
b 0
f 0
cc 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Valkyrja Framework package.
7
 *
8
 * (c) Melech Mizrachi <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Valkyrja\Http\Message\Uri\Data;
15
16
/**
17
 * Class HostPortAccumulator.
18
 *
19
 * @author Melech Mizrachi
20
 */
21
class HostPortAccumulator
22
{
23
    public function __construct(
24
        public string $host = '',
25
        public int|null $port = null
26
    ) {
27
    }
28
}
29