| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 32 | public function getUri(): string |
||
| 33 | { |
||
| 34 | $qs = $this->request->server->get('QUERY_STRING'); |
||
| 35 | if (!empty($qs)) { |
||
| 36 | $qs = '?' . $qs; |
||
| 37 | } |
||
| 38 | |||
| 39 | return $this->request->getSchemeAndHttpHost() |
||
| 40 | . $this->request->getBaseUrl() . $this->request->getPathInfo().$qs; |
||
| 41 | } |
||
| 42 | |||
| 53 |