Skip to content

Commit ae8940d

Browse files
committed
Fixed PHPUnit
1 parent 06ec241 commit ae8940d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/Unit/Cache/ArrayCacheTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ArrayCacheTest extends BaseTest
1111
{
1212
private $arrayCache;
1313

14-
public function setUp()
14+
public function setUp(): void
1515
{
1616
parent::setUp();
1717
$this->arrayCache = new ArrayCache();
@@ -108,4 +108,4 @@ public function shouldHas(): void
108108
$this->arrayCache->set('foo', 'bar');
109109
self::assertTrue($this->arrayCache->has('foo'));
110110
}
111-
}
111+
}

tests/Unit/Gtid/GtidCollectionTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GtidCollectionTest extends BaseTest
2222
/**
2323
* @throws GtidException
2424
*/
25-
public function setUp()
25+
public function setUp(): void
2626
{
2727
parent::setUp();
2828

@@ -55,4 +55,4 @@ public function shouldCreateCollection()
5555
{
5656
$this->assertInstanceOf(GtidCollection::class, GtidCollection::makeCollectionFromString('9b1c8d18-2a76-11e5-a26b-000c2976f3f3:1-177592'));
5757
}
58-
}
58+
}

tests/Unit/Repository/MySQLRepositoryTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MySQLRepositoryTest extends BaseTest
2626
*/
2727
private $connection;
2828

29-
public function setUp()
29+
public function setUp(): void
3030
{
3131
parent::setUp();
3232

@@ -125,4 +125,4 @@ public function shouldReconnect(): void
125125
$this->mySQLRepositoryTest->isCheckSum();
126126
self::assertTrue(true);
127127
}
128-
}
128+
}

0 commit comments

Comments
 (0)