@@ -77,6 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * Make GET request and return response body |
| 80 | + * @param string $path |
|
| 80 | 81 | */ |
| 81 | 82 | public function getGetResponseBody($path, array $parameters = []): StreamInterface |
| 82 | 83 | { |
@@ -95,7 +96,7 @@ discard block |
||
| 95 | 96 | * @param string $path Request path |
| 96 | 97 | * @param array $parameters Key => Value array of query parameters |
| 97 | 98 | * |
| 98 | - * @return ResponseInterface |
|
| 99 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 99 | 100 | * |
| 100 | 101 | * @throws NetworkException |
| 101 | 102 | */ |
@@ -110,7 +111,7 @@ discard block |
||
| 110 | 111 | * @param string $path Request path |
| 111 | 112 | * @param array $parameters Key => Value array of request data |
| 112 | 113 | * |
| 113 | - * @return ResponseInterface |
|
| 114 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 114 | 115 | * |
| 115 | 116 | * @throws NetworkException |
| 116 | 117 | */ |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | return $this->name; |
| 135 | 135 | } |
| 136 | 136 | |
| 137 | - public function updateLoginAndName(string $login, ?string $name): self |
|
| 137 | + public function updateLoginAndName(string $login, ?string $name) : self |
|
| 138 | 138 | { |
| 139 | 139 | $this->login = $login; |
| 140 | 140 | $this->name = $name; |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | return $this->updatedAt; |
| 196 | 196 | } |
| 197 | 197 | |
| 198 | - public function updatePrivacy(?bool $public, ?bool $whitelistOnly): void |
|
| 198 | + public function updatePrivacy(?bool $public, ?bool $whitelistOnly) : void |
|
| 199 | 199 | { |
| 200 | 200 | $this->public = $public; |
| 201 | 201 | $this->whitelistOnly = $whitelistOnly; |