Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
40 | 1 | public function __construct( |
|
41 | ResponseFactoryInterface $responseFactory, |
||
42 | array $allowMethods, |
||
43 | array $allowHeaders, |
||
44 | int $maxAge = 600 |
||
45 | ) { |
||
46 | 1 | $this->responseFactory = $responseFactory; |
|
47 | 1 | $this->allowMethods = $allowMethods; |
|
48 | 1 | $this->allowHeaders = $allowHeaders; |
|
49 | 1 | $this->maxAge = $maxAge; |
|
50 | 1 | } |
|
51 | |||
66 |