AuthenticationException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
declare(strict_types=1);
3
/**
4
 * Created by PhpStorm.
5
 * User: benedikt
6
 * Date: 9/15/17
7
 * Time: 11:18 PM
8
 */
9
10
namespace Tfboe\FmLib\Exceptions;
11
12
13
use Throwable;
14
15
/**
16
 * Class AuthenticationException
17
 * @package Tfboe\FmLib\Exceptions
18
 */
19
class AuthenticationException extends AbstractException
20
{
21
//<editor-fold desc="Constructor">
22
  /**
23
   * AuthenticationException constructor.
24
   * @param string $message
25
   * @param Throwable|null $previous
26
   */
27
  public function __construct($message = "", Throwable $previous = null)
28
  {
29
    parent::__construct($message, 401, $previous);
30
  }
31
//</editor-fold desc="Constructor">
32
}