| @@ 122-130 (lines=9) @@ | ||
| 119 | /**  | 
                                |
| 120 | * @return Response  | 
                                |
| 121 | */  | 
                                |
| 122 | public function runAllChecksHttpStatusAction(Request $request)  | 
                                |
| 123 |     { | 
                                |
| 124 | $report = $this->runTests($request);  | 
                                |
| 125 | ||
| 126 | return new Response(  | 
                                |
| 127 | '',  | 
                                |
| 128 | (ArrayReporter::STATUS_OK === $report->getGlobalStatus() ? 200 : $this->failureStatusCode)  | 
                                |
| 129 | );  | 
                                |
| 130 | }  | 
                                |
| 131 | ||
| 132 | /**  | 
                                |
| 133 | * @param string $checkId  | 
                                |
| @@ 137-145 (lines=9) @@ | ||
| 134 | *  | 
                                |
| 135 | * @return Response  | 
                                |
| 136 | */  | 
                                |
| 137 | public function runSingleCheckHttpStatusAction($checkId, Request $request)  | 
                                |
| 138 |     { | 
                                |
| 139 | $report = $this->runTests($request, $checkId);  | 
                                |
| 140 | ||
| 141 | return new Response(  | 
                                |
| 142 | '',  | 
                                |
| 143 | (ArrayReporter::STATUS_OK === $report->getGlobalStatus() ? 200 : $this->failureStatusCode)  | 
                                |
| 144 | );  | 
                                |
| 145 | }  | 
                                |
| 146 | ||
| 147 | /**  | 
                                |
| 148 | * @param string $checkId  | 
                                |