Completed
Pull Request — master (#448)
by
unknown
08:31
created

AppExit   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A onExit() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace Phpmetrix;
4
5
/** @codeCoverageIgnore */
6
final class AppExit implements ExitInterface
7
{
8
9
    public function onExit(int $exitCode = 0)  : void
10
    {
11
        exit($exitCode);
12
    }
13
}
14