Skip to content

Commit 32ca9a7

Browse files
committed
Fix CS
1 parent dd61895 commit 32ca9a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public function clickLink(string $linkText): Crawler
312312
*
313313
* @return Crawler
314314
*/
315-
public function submit(Form $form, array $values = []/*, array $serverParameters = []*/)
315+
public function submit(Form $form, array $values = []/* , array $serverParameters = [] */)
316316
{
317317
if (\func_num_args() < 3 && __CLASS__ !== static::class && __CLASS__ !== (new \ReflectionMethod($this, __FUNCTION__))->getDeclaringClass()->getName() && !$this instanceof \PHPUnit\Framework\MockObject\MockObject && !$this instanceof \Prophecy\Prophecy\ProphecySubjectInterface && !$this instanceof \Mockery\MockInterface) {
318318
@trigger_error(sprintf('The "%s()" method will have a new "array $serverParameters = []" argument in version 5.0, not defining it is deprecated since Symfony 4.2.', static::class.'::'.__FUNCTION__), \E_USER_DEPRECATED);

Tests/ClassThatInheritClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function doRequest($request): Response
4040
/**
4141
* @param array $serverParameters
4242
*/
43-
public function submit(DomCrawlerForm $form, array $values = []/*, array $serverParameters = []*/): Crawler
43+
public function submit(DomCrawlerForm $form, array $values = []/* , array $serverParameters = [] */): Crawler
4444
{
4545
return parent::submit($form, $values);
4646
}

0 commit comments

Comments
 (0)