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

NonInstantiable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 6
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
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