This commit is contained in:
TomasVotruba
2017-11-30 10:27:01 +01:00
committed by Jaap van Otterdijk
parent e9e35284d9
commit f8d4fda4f3
18 changed files with 54 additions and 54 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ interface Tag
public function getName(): string;
/**
* @return Tag Class that implements Tag
* @return Tag|mixed Class that implements Tag
*/
public static function create(string $body);
+4 -4
View File
@@ -79,7 +79,7 @@ class DeprecatedTest extends TestCase
* @covers ::__construct
* @covers ::getVersion
*/
public function testHasVersionNumber()
public function testHasVersionNumber(): void
{
$expected = '1.0';
@@ -93,7 +93,7 @@ class DeprecatedTest extends TestCase
* @covers \phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getDescription
* @uses \phpDocumentor\Reflection\DocBlock\Description
*/
public function testHasDescription()
public function testHasDescription(): void
{
$expected = new Description('Description');
@@ -107,7 +107,7 @@ class DeprecatedTest extends TestCase
* @covers ::__toString
* @uses \phpDocumentor\Reflection\DocBlock\Description
*/
public function testStringRepresentationIsReturned()
public function testStringRepresentationIsReturned(): void
{
$fixture = new Deprecated('1.0', new Description('Description'));
@@ -121,7 +121,7 @@ class DeprecatedTest extends TestCase
* @uses \phpDocumentor\Reflection\DocBlock\Description
* @uses \phpDocumentor\Reflection\Types\Context
*/
public function testFactoryMethod()
public function testFactoryMethod(): void
{
$descriptionFactory = m::mock(DescriptionFactory::class);
$context = new Context('');