mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 18:13:13 +00:00
fix cs
This commit is contained in:
committed by
Jaap van Otterdijk
parent
e9e35284d9
commit
f8d4fda4f3
@@ -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);
|
||||
|
||||
|
||||
@@ -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('');
|
||||
|
||||
Reference in New Issue
Block a user