code styles fixes only

This commit is contained in:
Lars Moelleken
2020-10-24 10:29:01 +02:00
parent 8c3953ef86
commit 591f5935c9
2 changed files with 5 additions and 4 deletions
+4 -2
View File
@@ -175,9 +175,11 @@ final class DocBlock
$result = [];
foreach ($this->getTagsByName($name) as $tag) {
if ($tag instanceof TagWithType) {
$result[] = $tag;
if (!$tag instanceof TagWithType) {
continue;
}
$result[] = $tag;
}
return $result;
+1 -2
View File
@@ -14,7 +14,6 @@ declare(strict_types=1);
namespace phpDocumentor\Reflection;
use Mockery as m;
use phpDocumentor\Reflection\DocBlock\Tags\Author;
use phpDocumentor\Reflection\DocBlock\Tags\Deprecated;
use phpDocumentor\Reflection\Types\Context;
use phpDocumentor\Reflection\Types\String_;
@@ -23,7 +22,7 @@ use PHPUnit\Framework\TestCase;
/**
* @uses \Webmozart\Assert\Assert
*
* @coversDefaultClass phpDocumentor\Reflection\DocBlock
* @coversDefaultClass \phpDocumentor\Reflection\DocBlock
* @covers ::<private>
*/
class DocBlockTest extends TestCase