Completed
Push — master ( d99d38...fc2b8b )
by Sebastian
02:26
created

UnauthorizedResponse   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A flush() 0 4 1
1
<?php
2
namespace Kartenmacherei\RestFramework\Response;
3
4
class UnauthorizedResponse implements Response
5
{
6
    public function flush()
7
    {
8
        http_response_code(401);
9
    }
10
11
}
12