GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

ContentType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
1
<?php
2
3
namespace Emarref\Jwt\HeaderParameter;
4
5
/**
6
 * "cty" (Content Type) Header Parameter
7
 *
8
 * The "cty" (content type) Header Parameter is used by JWS applications to declare the MIME Media Type
9
 * [IANA.MediaTypes] of the secured content (the payload).  This is intended for use by the application when more than
10
 * one kind of object could be present in the JWS payload; the application can use this value to disambiguate among the
11
 * different kinds of objects that might be present.  It will typically not be used by applications when the kind of
12
 * object is already known. This parameter is ignored by JWS implementations; any processing of this parameter is
13
 * performed by the JWS application.  Use of this Header Parameter is OPTIONAL.
14
 *
15
 * Per RFC 2045 [RFC2045], all media type values, subtype values, and parameter names are case-insensitive.  However,
16
 * parameter values are case-sensitive unless otherwise specified for the specific parameter.
17
 *
18
 * To keep messages compact in common situations, it is RECOMMENDED that producers omit an "application/" prefix of a
19
 * media type value in a "cty" Header Parameter when no other '/' appears in the media type value.  A recipient using
20
 * the media type value MUST treat it as if "application/" were prepended to any "cty" value not containing a '/'.  For
21
 * instance, a "cty" value of "example" SHOULD be used to represent the "application/example" media type; whereas, the
22
 * media type "application/example;part="1/2"" cannot be shortened to "example;part="1/2"".
23
 */
24
class ContentType extends AbstractParameter
25
{
26
    const NAME = 'cty';
27
28
    /**
29
     * @return string
30
     */
31
    public function getName()
32
    {
33
        return self::NAME;
34
    }
35
}
36