Skip to content

Commit

Permalink
Merge pull request #570 from tienvx/add-return-type
Browse files Browse the repository at this point in the history
chore: Add more void return type
  • Loading branch information
tienvx authored Apr 25, 2024
2 parents 5bfe54f + d93e367 commit 3135b2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/PhpPact/Consumer/Model/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function setUp(): void
$this->message = new Message();
}

public function testSetters()
public function testSetters(): void
{
$handle = 123;
$description = 'a message';
Expand Down
2 changes: 1 addition & 1 deletion tests/PhpPact/Consumer/Model/ProviderResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function setUp(): void
$this->response = new ProviderResponse();
}

public function testSerializing()
public function testSerializing(): void
{
$model = new ProviderResponse();
$model
Expand Down
2 changes: 1 addition & 1 deletion tests/PhpPact/FFI/Model/ArrayDataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function testCreateFromEmptyArray(): void
$this->assertNull(ArrayData::createFrom([]));
}

public function testCreateFromArray()
public function testCreateFromArray(): void
{
$branches = ['feature-x', 'master', 'test', 'prod'];
$arrayData = ArrayData::createFrom($branches);
Expand Down

0 comments on commit 3135b2f

Please sign in to comment.