diff --git a/src/Symfony/Component/HttpFoundation/Test/Constraint/ResponseIsUnprocessable.php b/src/Symfony/Component/HttpFoundation/Test/Constraint/ResponseIsUnprocessable.php index a4503b9a54546..7823aa78666c1 100644 --- a/src/Symfony/Component/HttpFoundation/Test/Constraint/ResponseIsUnprocessable.php +++ b/src/Symfony/Component/HttpFoundation/Test/Constraint/ResponseIsUnprocessable.php @@ -44,9 +44,6 @@ protected function failureDescription($other): string return 'the Response '.$this->toString(); } - /** - * @param mixed $other - */ protected function additionalFailureDescription($other): string { if ($this->verbose || !($other instanceof Response)) { diff --git a/src/Symfony/Component/HttpFoundation/Test/Constraint/ResponseStatusCodeSame.php b/src/Symfony/Component/HttpFoundation/Test/Constraint/ResponseStatusCodeSame.php index 08c185104581e..458517293f5a4 100644 --- a/src/Symfony/Component/HttpFoundation/Test/Constraint/ResponseStatusCodeSame.php +++ b/src/Symfony/Component/HttpFoundation/Test/Constraint/ResponseStatusCodeSame.php @@ -44,9 +44,6 @@ protected function failureDescription($response): string return 'the Response '.$this->toString(); } - /** - * @param mixed $other - */ protected function additionalFailureDescription($other): string { if ($this->verbose || !($other instanceof Response)) {