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

AppExit::onExit()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
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