UPDATE Method.php, MethodTest.php

- try to make the if-condition php 7.2.0-compatible
- correct docBlock for the test method
This commit is contained in:
Christoph Harms-Ensink
2017-05-29 14:21:25 +02:00
committed by Jaap van Otterdijk
parent e9454d844d
commit a41a31f8c8
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -277,6 +277,13 @@ class MethodTest extends \PHPUnit_Framework_TestCase
$this->assertSame($description, $fixture->getDescription());
}
/**
* @covers ::create
* @uses \phpDocumentor\Reflection\DocBlock\Tags\Method::<public>
* @uses \phpDocumentor\Reflection\TypeResolver
* @uses \phpDocumentor\Reflection\DocBlock\Description
* @uses \phpDocumentor\Reflection\Types\Context
*/
public function testReturnTypeThis()
{
$descriptionFactory = m::mock(DescriptionFactory::class);