Passed
Push — master ( 32d898...98544e )
by Stan
04:30
created

ResponseFactory::make()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 3
1
<?php
2
3
namespace Krenor\Http2Pusher\Factories;
4
5
use Krenor\Http2Pusher\Response;
6
use Illuminate\Routing\ResponseFactory as BaseResponseFactory;
7
8
class ResponseFactory extends BaseResponseFactory
9
{
10
    /**
11
     * Return a new response from the application.
12
     *
13
     * @param  string $content
14
     * @param  int $status
15
     * @param  array $headers
16
     *
17
     * @return \Krenor\Http2Pusher\Response
18
     */
19
    public function make($content = '', $status = 200, array $headers = [])
20
    {
21
        return new Response($content, $status, $headers);
22
    }
23
}
24