@@ -63,7 +63,7 @@ |
||
63 | 63 | * Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. |
64 | 64 | * @var bool |
65 | 65 | */ |
66 | - public $deprecated = false; |
|
66 | + public $deprecated=false; |
|
67 | 67 | |
68 | 68 | /** |
69 | 69 | * @var SecurityRequirement |
@@ -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 |