Skip to content

Commit c9c580e

Browse files
TomasVotrubajaapio
authored andcommitted
DocBlock: move public method up
1 parent 0cb4b04 commit c9c580e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/DocBlock.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -206,18 +206,6 @@ public function hasTag($name)
206206
return false;
207207
}
208208

209-
/**
210-
* Adds a tag to this DocBlock.
211-
*
212-
* @param Tag $tag The tag to add.
213-
*
214-
* @return void
215-
*/
216-
private function addTag(Tag $tag)
217-
{
218-
$this->tags[] = $tag;
219-
}
220-
221209
/**
222210
* Remove a tag from this DocBlock.
223211
*
@@ -234,4 +222,16 @@ public function removeTag(Tag $tagToRemove)
234222
}
235223
}
236224
}
225+
226+
/**
227+
* Adds a tag to this DocBlock.
228+
*
229+
* @param Tag $tag The tag to add.
230+
*
231+
* @return void
232+
*/
233+
private function addTag(Tag $tag)
234+
{
235+
$this->tags[] = $tag;
236+
}
237237
}

0 commit comments

Comments
 (0)