Completed
Push — master ( a1a386...b15fa9 )
by arto
04:17
created

ContentTypeIsJson   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A suffix() 0 4 1
1
<?php
2
3
namespace Net\Bazzline\Component\Curl\HeaderLine;
4
5
class ContentTypeIsJson extends AbstractContentType
6
{
7
    /**
8
     * @return string
9
     */
10
    protected function suffix()
11
    {
12
        return 'application/json';
13
    }
14
}
15