@@ -270,10 +270,10 @@ |
||
| 270 | 270 | |
| 271 | 271 | return $this->createUriString( |
| 272 | 272 | ($scheme !== '') ? $scheme.'://' : '', |
| 273 | - $this->getAuthority(), |
|
| 274 | - $this->getPath(), |
|
| 275 | - ($query !== '') ? '?'.$query : '', |
|
| 276 | - ($fragment !== '') ? '#'.$fragment : '' |
|
| 273 | + $this->getAuthority(), |
|
| 274 | + $this->getPath(), |
|
| 275 | + ($query !== '') ? '?'.$query : '', |
|
| 276 | + ($fragment !== '') ? '#'.$fragment : '' |
|
| 277 | 277 | ); |
| 278 | 278 | } |
| 279 | 279 | } |
@@ -281,8 +281,7 @@ |
||
| 281 | 281 | //if key is empty strung |
| 282 | 282 | return ($key === '') ? |
| 283 | 283 | //return metadata |
| 284 | - $metadata : |
|
| 285 | - //else check if key exist and if key exist return as array else return void array |
|
| 284 | + $metadata : //else check if key exist and if key exist return as array else return void array |
|
| 286 | 285 | (isset($metadata[$key]) ? [$key => $metadata[$key]] : []); |
| 287 | 286 | } |
| 288 | 287 | } |