@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | * |
| 105 | 105 | * @return null|int The URI port. |
| 106 | 106 | */ |
| 107 | - public function getPort(): ?int |
|
| 107 | + public function getPort(): ? int |
|
| 108 | 108 | { |
| 109 | 109 | // TODO: Implement getPort() method. |
| 110 | 110 | } |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * @see https://tools.ietf.org/html/rfc3986#section-3.3 |
| 135 | 135 | * @return string The URI path. |
| 136 | 136 | */ |
| 137 | - public function getPath(): string |
|
| 137 | + public function getPath() : string |
|
| 138 | 138 | { |
| 139 | 139 | // TODO: Implement getPath() method. |
| 140 | 140 | } |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | * @see https://tools.ietf.org/html/rfc3986#section-3.4 |
| 160 | 160 | * @return string The URI query string. |
| 161 | 161 | */ |
| 162 | - public function getQuery(): string |
|
| 162 | + public function getQuery() : string |
|
| 163 | 163 | { |
| 164 | 164 | // TODO: Implement getQuery() method. |
| 165 | 165 | } |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | * @see https://tools.ietf.org/html/rfc3986#section-3.5 |
| 181 | 181 | * @return string The URI fragment. |
| 182 | 182 | */ |
| 183 | - public function getFragment(): string |
|
| 183 | + public function getFragment() : string |
|
| 184 | 184 | { |
| 185 | 185 | // TODO: Implement getFragment() method. |
| 186 | 186 | } |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | * @see http://tools.ietf.org/html/rfc3986#section-4.1 |
| 360 | 360 | * @return string |
| 361 | 361 | */ |
| 362 | - public function __toString(): string |
|
| 362 | + public function __toString() : string |
|
| 363 | 363 | { |
| 364 | 364 | // TODO: Implement __toString() method. |
| 365 | 365 | }} |