BrokenLink   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 20
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace OhDear\PhpSdk\Resources;
4
5
class BrokenLink extends ApiResource
6
{
7
    /*
8
     * The status code the site responded with.
9
     */
10
    public ?int $statusCode;
11
12
    /*
13
     * The url that is broken.
14
     */
15
    public string $crawledUrl;
16
17
    /*
18
     * The url where the broken url was found.
19
     */
20
    public string $foundOnUrl;
21
22
    public function __construct(array $attributes, $ohDear = null)
23
    {
24
        parent::__construct($attributes, $ohDear);
25
    }
26
}
27