Skip to content

Commit 082c811

Browse files
TomasVotrubajaapio
authored andcommitted
remove unused docblocks
1 parent 4a96758 commit 082c811

17 files changed

+0
-26
lines changed

src/DocBlock.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public function getDescription(): DocBlock\Description
8383

8484
/**
8585
* Returns the current context.
86-
*
8786
*/
8887
public function getContext(): Types\Context
8988
{
@@ -116,7 +115,6 @@ public function getLocation(): ?Location
116115
* elements that follow until another DocBlock is found that contains the closing marker (`#@-`).
117116
*
118117
* @see self::isTemplateEnd() for the check whether a closing marker was provided.
119-
*
120118
*/
121119
public function isTemplateStart(): bool
122120
{
@@ -127,7 +125,6 @@ public function isTemplateStart(): bool
127125
* Returns whether this DocBlock is the end of a Template section.
128126
*
129127
* @see self::isTemplateStart() for a more complete description of the Docblock Template functionality.
130-
*
131128
*/
132129
public function isTemplateEnd(): bool
133130
{

src/DocBlock/DescriptionFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ public function __construct(TagFactory $tagFactory)
4747

4848
/**
4949
* Returns the parsed text of this description.
50-
*
51-
*
5250
*/
5351
public function create(string $contents, ?TypeContext $context = null): Description
5452
{

src/DocBlock/ExampleFinder.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ public function getExampleDirectories()
8787
* 2. Checks the source folder for the given filename
8888
* 3. Checks the 'examples' folder in the current working directory for examples
8989
* 4. Checks the path relative to the current working directory for the given filename
90-
*
91-
*
9290
*/
9391
private function getExampleFileContents(string $filename): ?string
9492
{

src/DocBlock/StandardTagFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ private function extractTagParts(string $tagLine)
182182
/**
183183
* Creates a new tag object with the given name and body or returns null if the tag name was recognized but the
184184
* body was invalid.
185-
*
186-
*
187185
*/
188186
private function createTag(string $body, string $name, TypeContext $context): ?Tag
189187
{

src/DocBlock/Tags/Covers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public static function create(
6060

6161
/**
6262
* Returns the structural element this tag refers to.
63-
*
6463
*/
6564
public function getReference(): Fqsen
6665
{

src/DocBlock/Tags/Deprecated.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public static function create(
8080

8181
/**
8282
* Gets the version section of the tag.
83-
*
8483
*/
8584
public function getVersion(): ?string
8685
{

src/DocBlock/Tags/Formatter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ interface Formatter
1919
{
2020
/**
2121
* Formats a tag into a string representation according to a specific format, such as Markdown.
22-
*
23-
*
2422
*/
2523
public function format(Tag $tag): string;
2624
}

src/DocBlock/Tags/Param.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ public function getVariableName(): string
9898

9999
/**
100100
* Returns the variable's type or null if unknown.
101-
*
102101
*/
103102
public function getType(): ?Type
104103
{
@@ -107,7 +106,6 @@ public function getType(): ?Type
107106

108107
/**
109108
* Returns whether this tag is variadic.
110-
*
111109
*/
112110
public function isVariadic(): bool
113111
{

src/DocBlock/Tags/Property.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public function getVariableName(): string
8888

8989
/**
9090
* Returns the variable's type or null if unknown.
91-
*
9291
*/
9392
public function getType(): ?Type
9493
{

src/DocBlock/Tags/PropertyRead.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public function getVariableName(): string
8888

8989
/**
9090
* Returns the variable's type or null if unknown.
91-
*
9291
*/
9392
public function getType(): ?Type
9493
{

0 commit comments

Comments
 (0)