Passed
Push — master ( 6b2979...464731 )
by Alex
04:00 queued 11s
created

ODataNextPageLink::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 5
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 7
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
6
namespace POData\ObjectModel;
7
8
use POData\Common\ODataConstants;
9
10
class ODataNextPageLink extends ODataLink
11
{
12
    public function __construct(string $url)
13
    {
14
        parent::__construct(
15
            ODataConstants::ATOM_LINK_NEXT_ATTRIBUTE_STRING,
16
            null,
17
            null,
18
            $url
19
        );
20
    }
21
}
22