Skip to content

Commit 930d2bf

Browse files
committed
chore: remove unecessary annotations
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 328d95a commit 930d2bf

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/NextcloudApiContext.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,27 +232,20 @@ protected function getUserCookieJar(string $user): CookieJar {
232232
return $this->cookieJars[$user];
233233
}
234234

235-
/**
236-
* @param ResponseInterface $response
237-
* @param int $statusCode
238-
* @param string $message
239-
*/
240235
protected function assertStatusCode(ResponseInterface $response, int $statusCode, string $message = ''): void {
241236
Assert::assertEquals($statusCode, $response->getStatusCode(), $message);
242237
}
243238

244239
/**
245-
* @param string $code
246240
* @throws \InvalidArgumentException
247241
*/
248242
#[Given('the response should have a status code :code')]
249-
public function theResponseShouldHaveStatusCode($code): void {
243+
public function theResponseShouldHaveStatusCode(string $code): void {
250244
$currentCode = $this->response->getStatusCode();
251245
Assert::assertEquals($code, $currentCode, $this->response->getBody()->getContents());
252246
}
253247

254248
/**
255-
* @param TableNode $table
256249
* @throws \InvalidArgumentException
257250
*/
258251
#[Given('the response should be a JSON array with the following mandatory values')]

0 commit comments

Comments
 (0)