@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | $uri_query = $this->data; |
| 83 | 83 | |
| 84 | 84 | if (!empty($uri_query)) { |
| 85 | - $uri_query = "?" . $uri_query; |
|
| 85 | + $uri_query = "?".$uri_query; |
|
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | return $uri_query; |
@@ -94,12 +94,12 @@ discard block |
||
| 94 | 94 | */ |
| 95 | 95 | protected function compileValidPattern() |
| 96 | 96 | { |
| 97 | - self::$valid_pattern = '/^([\/\?' . |
|
| 98 | - $this->unreserved_pattern . |
|
| 99 | - $this->sub_delims_pattern . |
|
| 100 | - $this->pchar_pattern . |
|
| 101 | - ']|' . |
|
| 102 | - $this->pct_encoded_pattern . |
|
| 97 | + self::$valid_pattern = '/^([\/\?'. |
|
| 98 | + $this->unreserved_pattern. |
|
| 99 | + $this->sub_delims_pattern. |
|
| 100 | + $this->pchar_pattern. |
|
| 101 | + ']|'. |
|
| 102 | + $this->pct_encoded_pattern. |
|
| 103 | 103 | ')*$/'; |
| 104 | 104 | } |
| 105 | 105 | |