File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff 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 ' )]
You can’t perform that action at this time.
0 commit comments