Skip to content

Commit db29368

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Remove :void in test function signatures
2 parents 86aed11 + 85efcc3 commit db29368

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/Test/Constraint/BrowserCookieValueSameTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class BrowserCookieValueSameTest extends TestCase
2323
{
24-
public function testConstraint(): void
24+
public function testConstraint()
2525
{
2626
$browser = $this->getBrowser();
2727
$constraint = new BrowserCookieValueSame('foo', 'bar', false, '/path');

Tests/Test/Constraint/BrowserHasCookieTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class BrowserHasCookieTest extends TestCase
2323
{
24-
public function testConstraint(): void
24+
public function testConstraint()
2525
{
2626
$browser = $this->getBrowser();
2727
$constraint = new BrowserHasCookie('foo', '/path');
@@ -42,7 +42,7 @@ public function testConstraint(): void
4242
$this->fail();
4343
}
4444

45-
public function testConstraintWithWrongPath(): void
45+
public function testConstraintWithWrongPath()
4646
{
4747
$browser = $this->getBrowser();
4848
$constraint = new BrowserHasCookie('foo', '/other');
@@ -57,7 +57,7 @@ public function testConstraintWithWrongPath(): void
5757
$this->fail();
5858
}
5959

60-
public function testConstraintWithWrongDomain(): void
60+
public function testConstraintWithWrongDomain()
6161
{
6262
$browser = $this->getBrowser();
6363
$constraint = new BrowserHasCookie('foo', '/path', 'example.org');

0 commit comments

Comments
 (0)