ResourceDeleted   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * Author: Nil Portugués Calderó <[email protected]>
5
 * Date: 7/29/15
6
 * Time: 12:44 AM.
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
namespace NilPortugues\Api\JsonApi\Http\Response;
12
13
class ResourceDeleted extends AbstractResponse
14
{
15
    /**
16
     * @var int
17
     */
18
    protected $httpCode = 204;
19
20
    /**
21
     *
22
     */
23
    public function __construct()
24
    {
25
        $this->response = self::instance('', $this->httpCode, $this->headers);
26
    }
27
}
28