@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | $uri_fragment = $this->data; |
62 | 62 | |
63 | 63 | if (!empty($uri_fragment)) { |
64 | - $uri_fragment = "#" . $uri_fragment; |
|
64 | + $uri_fragment = "#".$uri_fragment; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | return $uri_fragment; |
@@ -72,12 +72,12 @@ discard block |
||
72 | 72 | */ |
73 | 73 | protected function compileValidPattern() |
74 | 74 | { |
75 | - self::$valid_pattern = '/^([\/\?' . |
|
76 | - $this->unreserved_pattern . |
|
77 | - $this->sub_delims_pattern . |
|
78 | - $this->pchar_pattern . |
|
79 | - ']|' . //predefined patterns or percent-encoding |
|
80 | - $this->pct_encoded_pattern . |
|
75 | + self::$valid_pattern = '/^([\/\?'. |
|
76 | + $this->unreserved_pattern. |
|
77 | + $this->sub_delims_pattern. |
|
78 | + $this->pchar_pattern. |
|
79 | + ']|'.//predefined patterns or percent-encoding |
|
80 | + $this->pct_encoded_pattern. |
|
81 | 81 | ')*$/'; |
82 | 82 | } |
83 | 83 |