add PHP 7.1 typehints

This commit is contained in:
TomasVotruba
2017-11-30 10:27:01 +01:00
committed by Jaap van Otterdijk
parent f9d1a0c177
commit 4a9675841b
64 changed files with 410 additions and 430 deletions
+3 -3
View File
@@ -18,12 +18,12 @@ class ExampleFinderTest extends TestCase
/**
* Call Mockery::close after each test.
*/
public function tearDown()
public function tearDown(): void
{
m::close();
}
public function setUp()
public function setUp(): void
{
$this->fixture = new ExampleFinder();
}
@@ -34,7 +34,7 @@ class ExampleFinderTest extends TestCase
* @uses \phpDocumentor\Reflection\DocBlock\Tags\Example
* @uses \phpDocumentor\Reflection\DocBlock\Description
*/
public function testFileNotFound()
public function testFileNotFound(): void
{
$example = new Example('./example.php', false, 1, 0, new Description('Test'));
$this->assertSame('** File not found : ./example.php **', $this->fixture->find($example));