Completed
Push — master ( 8c84a6...1cc115 )
by Dominik
02:12
created

EmptyPasswordException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 4 1
1
<?php
2
3
namespace Chubbyphp\Security\Authentication\Exception;
4
5
final class EmptyPasswordException extends \Exception
6
{
7
    /**
8
     * @return EmptyPasswordException
9
     */
10
    public static function create(): self
11
    {
12
        return new self('Empty password');
13
    }
14
}
15