GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

CDay   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 28
rs 10
ccs 0
cts 8
cp 0
wmc 4
lcom 0
cbo 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getDayOfMonthNumber() 0 4 1
A setDayOfMonthNumber() 0 4 1
A getName() 0 4 1
A setName() 0 4 1
1
<?php
2
3
4
class CDay {
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
5
    private $name;
6
    private $dayOfMonthNumber;
7
8
9
    public function getDayOfMonthNumber()
10
    {
11
        return $this->dayOfMonthNumber;
12
    }
13
14
15
    public function setDayOfMonthNumber($dayOfMonthNumber)
16
    {
17
        $this->dayOfMonthNumber = $dayOfMonthNumber;
18
    }
19
20
21
    public function getName()
22
    {
23
        return $this->name;
24
    }
25
26
27
    public function setName($name)
28
    {
29
        $this->name = $name;
30
    }
31
}