Passed
Push — master ( de3d61...be839c )
by Alec
13:42 queued 13s
created

NonInstantiable::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
6
namespace AlecRabbit\Spinner\Mixin;
7
8
trait NonInstantiable
9
{
10
    // @codeCoverageIgnoreStart
11
    /** @psalm-suppress UnusedConstructor */
12
    final private function __construct()
13
    {
14
        // no instances, can NOT be overridden
15
    }
16
    // @codeCoverageIgnoreEnd
17
}
18