From 7d1286884b015e5c89441dfc12360df1266e568f Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 6 Sep 2019 12:15:48 +0200 Subject: [PATCH] typos --- .../Component/BrowserKit/Tests/ClassThatInheritClient.php | 5 ++++- .../HttpKernel/Tests/EventListener/ExceptionListenerTest.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/BrowserKit/Tests/ClassThatInheritClient.php b/src/Symfony/Component/BrowserKit/Tests/ClassThatInheritClient.php index 9f6a55ae9d..9b44547204 100644 --- a/src/Symfony/Component/BrowserKit/Tests/ClassThatInheritClient.php +++ b/src/Symfony/Component/BrowserKit/Tests/ClassThatInheritClient.php @@ -37,7 +37,10 @@ class ClassThatInheritClient extends AbstractBrowser return $response; } - public function submit(DomCrawlerForm $form, array $values = []): Crawler + /** + * @param array $serverParameters + */ + public function submit(DomCrawlerForm $form, array $values = []/*, array $serverParameters = []*/): Crawler { return parent::submit($form, $values); } diff --git a/src/Symfony/Component/HttpKernel/Tests/EventListener/ExceptionListenerTest.php b/src/Symfony/Component/HttpKernel/Tests/EventListener/ExceptionListenerTest.php index 4ec530b7f8..4a24066b2c 100644 --- a/src/Symfony/Component/HttpKernel/Tests/EventListener/ExceptionListenerTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/EventListener/ExceptionListenerTest.php @@ -159,7 +159,7 @@ class ExceptionListenerTest extends TestCase class TestLogger extends Logger implements DebugLoggerInterface { - public function countErrors(Request $request = null) + public function countErrors(Request $request = null): int { return \count($this->logs['critical']); }