Completed
Pull Request — master (#141)
by Graham
09:19
created
src/DocBlock/Tags/Example.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 namespace phpDocumentor\Reflection\DocBlock\Tags;
14 14
 
15 15
 use phpDocumentor\Reflection\DocBlock\Description;
16
-use phpDocumentor\Reflection\DocBlock\Tag;
17 16
 use Webmozart\Assert\Assert;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
      */
44 44
     private $lineCount;
45 45
 
46
+    /**
47
+     * @param integer|null $lineCount
48
+     */
46 49
     public function __construct(string $filePath, bool $isURI, int $startingLine, $lineCount, $description)
47 50
     {
48 51
         Assert::notEmpty($filePath);
Please login to merge, or discard this patch.
src/DocBlockFactory.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -97,6 +97,10 @@  discard block
 block discarded – undo
97 97
         );
98 98
     }
99 99
 
100
+    /**
101
+     * @param integer $tagName
102
+     * @param string $handler
103
+     */
100 104
     public function registerTagHandler($tagName, $handler): void
101 105
     {
102 106
         $this->tagFactory->registerTagHandler($tagName, $handler);
@@ -243,6 +247,9 @@  discard block
 block discarded – undo
243 247
         return $result;
244 248
     }
245 249
 
250
+    /**
251
+     * @param string $tags
252
+     */
246 253
     private function filterTagBlock($tags): ?string
247 254
     {
248 255
         $tags = trim($tags);
Please login to merge, or discard this patch.
src/DocBlock/Tags/Method.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @return array[]
171
+     * @return string[]
172 172
      */
173 173
     public function getArguments()
174 174
     {
@@ -227,6 +227,9 @@  discard block
 block discarded – undo
227 227
         return $arguments;
228 228
     }
229 229
 
230
+    /**
231
+     * @return string
232
+     */
230 233
     private static function stripRestArg($argument)
231 234
     {
232 235
         if (strpos($argument, '...') === 0) {
Please login to merge, or discard this patch.