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.
Completed
Push — 5.0 ( c6890e )
by Jonny
23:29
created

StreamResponse   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the php-phantomjs.
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace JonnyW\PhantomJs\Http;
11
12
use GuzzleHttp\Psr7\Response as BaseResponse;
13
14
/**
15
 * PHP PhantomJs.
16
 *
17
 * @author Jon Wenmoth <[email protected]>
18
 */
19
class StreamResponse extends BaseResponse implements OutputInterface
20
{
21
    use \GuzzleHttp\Psr7\MessageTrait;
22
    use \JonnyW\PhantomJs\IO\Output\OutputTrait;
23
24
    /**
25
     * Get input type.
26
     *
27
     * @return string
28
     */
29
    public function getType()
30
    {
31
        return 'http_stream';
32
    }
33
}
34