| @@ -42,7 +42,7 @@ | ||
| 42 | 42 | /** | 
| 43 | 43 | * @var int Url port. | 
| 44 | 44 | */ | 
| 45 | - protected $port = 0; | |
| 45 | + protected $port = 0; | |
| 46 | 46 | |
| 47 | 47 | /** | 
| 48 | 48 | * @var string Url authority user | 
| @@ -38,7 +38,7 @@ discard block | ||
| 38 | 38 |          if (is_string($stream)) { | 
| 39 | 39 | $error = null; | 
| 40 | 40 | |
| 41 | -            set_error_handler(function ($e) use (&$error) { | |
| 41 | +            set_error_handler(function($e) use (&$error) { | |
| 42 | 42 |                  if ($e === 2) { | 
| 43 | 43 | $error = $e; | 
| 44 | 44 | } | 
| @@ -371,8 +371,7 @@ discard block | ||
| 371 | 371 | //if key is empty string | 
| 372 | 372 | return ($key === '') ? | 
| 373 | 373 | //return metadata | 
| 374 | - $metadata : | |
| 375 | - //else check if key exist and if key exist return as array else return void array | |
| 374 | + $metadata : //else check if key exist and if key exist return as array else return void array | |
| 376 | 375 | (isset($metadata[$key]) ? [$key => $metadata[$key]] : []); | 
| 377 | 376 | } | 
| 378 | 377 | } |