| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function process(Request $originalRequest, HttpHelper $httpHelper) |
||
| 27 | { |
||
| 28 | $httpHelper->setMethod($originalRequest->getMethod()); |
||
| 29 | |||
| 30 | // Query Params |
||
| 31 | foreach ($originalRequest->query as $name => $value) { |
||
| 32 | $httpHelper->addQueryParams($name, $value); |
||
| 33 | } |
||
| 34 | |||
| 35 | return $httpHelper; |
||
| 36 | } |
||
| 37 | } |
||
| 38 |