PHP71TestClass   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getSelfNullable() 0 4 1
A doNothing() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Moka\Tests;
5
6
class PHP71TestClass extends AbstractTestClass
7
{
8
    public function getSelfNullable(): ?self
9
    {
10
        return $this;
11
    }
12
13
    public function doNothing(): void
14
    {
15
    }
16
}
17