@@ -22,12 +22,12 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * @var string |
| 24 | 24 | */ |
| 25 | - public $port = '80'; |
|
| 25 | + public $port='80'; |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * @var string |
| 29 | 29 | */ |
| 30 | - public $host = 'localhost'; |
|
| 30 | + public $host='localhost'; |
|
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * An optional string describing the host designated by the URL. |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * |
| 50 | 50 | * @var string |
| 51 | 51 | */ |
| 52 | - public $url = 'http://{host}:{port}/'; |
|
| 52 | + public $url='http://{host}:{port}/'; |
|
| 53 | 53 | |
| 54 | 54 | public function getUrl() : string |
| 55 | 55 | { |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | // TODO: Implement getStatusCode() method. |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - public function withStatus($code, $reasonPhrase = '') |
|
| 74 | + public function withStatus($code, $reasonPhrase='') |
|
| 75 | 75 | { |
| 76 | 76 | // TODO: Implement withStatus() method. |
| 77 | 77 | } |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | |
| 9 | 9 | public function __construct(string $string) |
| 10 | 10 | { |
| 11 | - $this->string = $string; |
|
| 11 | + $this->string=$string; |
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | public function __toString() : string |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * @var int |
| 23 | 23 | * @Required |
| 24 | 24 | */ |
| 25 | - public $code = 200; |
|
| 25 | + public $code=200; |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * @var Header[] |
@@ -38,5 +38,5 @@ discard block |
||
| 38 | 38 | /** |
| 39 | 39 | * @var Reference[] |
| 40 | 40 | */ |
| 41 | - public $links = []; |
|
| 41 | + public $links=[ ]; |
|
| 42 | 42 | } |