Skip to content

Commit

Permalink
Don't use the void return type, as that was not available in PHP 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegrunwell committed Dec 18, 2023
1 parent 59f8d4f commit 260c062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ConstantsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ConstantsTest extends TestCase
*
* @return void
*/
public function testConstantsAreDefined(string $constant, int $expected): void
public function testConstantsAreDefined(string $constant, int $expected)
{
$this->assertTrue(defined($constant), "Expected the '{$constant}' constant to be defined.");
$this->assertSame($expected, constant($constant));
Expand Down

0 comments on commit 260c062

Please sign in to comment.