Skip to content

Commit 154c85b

Browse files
TomasVotrubajaapio
authored andcommitted
remove unused namespaces
1 parent b2e816c commit 154c85b

File tree

5 files changed

+2
-4
lines changed

5 files changed

+2
-4
lines changed

src/DocBlock/Description.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
use phpDocumentor\Reflection\DocBlock\Tags\Formatter;
1717
use phpDocumentor\Reflection\DocBlock\Tags\Formatter\PassthroughFormatter;
18-
use Webmozart\Assert\Assert;
1918

2019
/**
2120
* Object representing to description for a DocBlock.

src/DocBlock/Serializer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
namespace phpDocumentor\Reflection\DocBlock;
1515

1616
use phpDocumentor\Reflection\DocBlock;
17-
use Webmozart\Assert\Assert;
1817

1918
/**
2019
* Converts a DocBlock back from an object to a complete DocComment including Asterisks.

src/DocBlock/Tags/Author.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
namespace phpDocumentor\Reflection\DocBlock\Tags;
1515

16-
use Webmozart\Assert\Assert;
1716

1817
/**
1918
* Reflection class for an {@}author tag in a Docblock.

src/DocBlock/Tags/Generic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static function create(
6868
*/
6969
public function __toString(): string
7070
{
71-
return ($this->description ? $this->description->render() : '');
71+
return $this->description ? $this->description->render() : '';
7272
}
7373

7474
/**

tests/unit/DocBlock/Tags/AuthorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* @license http://www.opensource.org/licenses/mit-license.php MIT
1111
* @link http://phpdoc.org
1212
*/
13+
1314
namespace phpDocumentor\Reflection\DocBlock\Tags;
1415

1516
use Mockery as m;

0 commit comments

Comments
 (0)