@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | $uri_query = $this->query; |
93 | 93 | |
94 | 94 | if (!empty($uri_query)) { |
95 | - $uri_query = "?" . $uri_query; |
|
95 | + $uri_query = "?".$uri_query; |
|
96 | 96 | } |
97 | 97 | |
98 | 98 | return $uri_query; |
@@ -104,12 +104,12 @@ discard block |
||
104 | 104 | */ |
105 | 105 | private function compileValidPattern() |
106 | 106 | { |
107 | - self::$valid_pattern = '/^([\/\?' . |
|
108 | - $this->unreserved_pattern . |
|
109 | - $this->sub_delims_pattern . |
|
110 | - $this->pchar_pattern . |
|
111 | - ']|' . |
|
112 | - $this->pct_encoded_pattern . |
|
107 | + self::$valid_pattern = '/^([\/\?'. |
|
108 | + $this->unreserved_pattern. |
|
109 | + $this->sub_delims_pattern. |
|
110 | + $this->pchar_pattern. |
|
111 | + ']|'. |
|
112 | + $this->pct_encoded_pattern. |
|
113 | 113 | ')*$/'; |
114 | 114 | } |
115 | 115 | } |