Update DomainTest.php

This commit is contained in:
Mou Ikkai authored and GitHub committed 2020-09-30 17:53:09 -04:00
1 parent 6a6b3738e4
commit d7a26b72af
1 file changed
+3 -3
+3 -3
View File
@@ -12,12 +12,12 @@ class DomainTest extends TestCase
*/
protected $domain = null;
public function setUp()
public function setUp(): void
{
$this->domain = new Domain();
}
public function tearDown()
public function tearDown(): void
{
$this->domain = null;
}
@@ -43,4 +43,4 @@ class DomainTest extends TestCase
$this->assertEquals(false, $this->domain->isValid(1));
$this->assertEquals(false, $this->domain->isValid(1.2));
}
}
}