mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
code styles fixes only
This commit is contained in:
+4
-2
@@ -175,9 +175,11 @@ final class DocBlock
|
|||||||
$result = [];
|
$result = [];
|
||||||
|
|
||||||
foreach ($this->getTagsByName($name) as $tag) {
|
foreach ($this->getTagsByName($name) as $tag) {
|
||||||
if ($tag instanceof TagWithType) {
|
if (!$tag instanceof TagWithType) {
|
||||||
$result[] = $tag;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$result[] = $tag;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ declare(strict_types=1);
|
|||||||
namespace phpDocumentor\Reflection;
|
namespace phpDocumentor\Reflection;
|
||||||
|
|
||||||
use Mockery as m;
|
use Mockery as m;
|
||||||
use phpDocumentor\Reflection\DocBlock\Tags\Author;
|
|
||||||
use phpDocumentor\Reflection\DocBlock\Tags\Deprecated;
|
use phpDocumentor\Reflection\DocBlock\Tags\Deprecated;
|
||||||
use phpDocumentor\Reflection\Types\Context;
|
use phpDocumentor\Reflection\Types\Context;
|
||||||
use phpDocumentor\Reflection\Types\String_;
|
use phpDocumentor\Reflection\Types\String_;
|
||||||
@@ -23,7 +22,7 @@ use PHPUnit\Framework\TestCase;
|
|||||||
/**
|
/**
|
||||||
* @uses \Webmozart\Assert\Assert
|
* @uses \Webmozart\Assert\Assert
|
||||||
*
|
*
|
||||||
* @coversDefaultClass phpDocumentor\Reflection\DocBlock
|
* @coversDefaultClass \phpDocumentor\Reflection\DocBlock
|
||||||
* @covers ::<private>
|
* @covers ::<private>
|
||||||
*/
|
*/
|
||||||
class DocBlockTest extends TestCase
|
class DocBlockTest extends TestCase
|
||||||
|
|||||||
Reference in New Issue
Block a user