Completed
Pull Request — master (#137)
by Tomáš
01:29
created
src/DocBlock/TagFactory.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,6 @@
 block discarded – undo
51 51
      * interface is passed as alias then every time that interface is requested the provided service will be returned.
52 52
      *
53 53
      * @param object $service
54
-     * @param string $alias
55 54
      *
56 55
      * @return void
57 56
      */
Please login to merge, or discard this patch.
src/DocBlock/Tags/Deprecated.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
     /** @var string The version vector. */
44 44
     private $version = '';
45 45
 
46
+    /**
47
+     * @param string $version
48
+     */
46 49
     public function __construct($version = null, Description $description = null)
47 50
     {
48 51
         Assert::nullOrStringNotEmpty($version);
Please login to merge, or discard this patch.
src/DocBlock/Tags/Method.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -219,6 +219,9 @@
 block discarded – undo
219 219
         return $arguments;
220 220
     }
221 221
 
222
+    /**
223
+     * @return string
224
+     */
222 225
     private static function stripRestArg($argument)
223 226
     {
224 227
         if (strpos($argument, '...') === 0) {
Please login to merge, or discard this patch.
src/DocBlock/Tags/Since.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
     /** @var string The version vector. */
44 44
     private $version = '';
45 45
 
46
+    /**
47
+     * @param string $version
48
+     */
46 49
     public function __construct($version = null, Description $description = null)
47 50
     {
48 51
         Assert::nullOrStringNotEmpty($version);
Please login to merge, or discard this patch.
src/DocBlock/Tags/Version.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
     /** @var string The version vector. */
44 44
     private $version = '';
45 45
 
46
+    /**
47
+     * @param string $version
48
+     */
46 49
     public function __construct($version = null, Description $description = null)
47 50
     {
48 51
         Assert::nullOrStringNotEmpty($version);
Please login to merge, or discard this patch.
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/DocBlock/Tags/Source.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -31,6 +31,10 @@
 block discarded – undo
31 31
     /** @var int|null The number of lines, relative to the starting line. NULL means "to the end". */
32 32
     private $lineCount = null;
33 33
 
34
+    /**
35
+     * @param integer $startingLine
36
+     * @param integer $lineCount
37
+     */
34 38
     public function __construct($startingLine, $lineCount = null, Description $description = null)
35 39
     {
36 40
         Assert::integerish($startingLine);
Please login to merge, or discard this patch.
src/DocBlock.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,6 @@
 block discarded – undo
206 206
     /**
207 207
      * Remove a tag from this DocBlock.
208 208
      *
209
-     * @param Tag $tag The tag to remove.
210 209
      *
211 210
      */
212 211
     public function removeTag(Tag $tagToRemove)
Please login to merge, or discard this patch.
src/DocBlockFactory.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -102,6 +102,10 @@  discard block
 block discarded – undo
102 102
         );
103 103
     }
104 104
 
105
+    /**
106
+     * @param integer $tagName
107
+     * @param string $handler
108
+     */
105 109
     public function registerTagHandler($tagName, $handler)
106 110
     {
107 111
         $this->tagFactory->registerTagHandler($tagName, $handler);
@@ -252,6 +256,9 @@  discard block
 block discarded – undo
252 256
         return $result;
253 257
     }
254 258
 
259
+    /**
260
+     * @param string $tags
261
+     */
255 262
     private function filterTagBlock($tags): ?string
256 263
     {
257 264
         $tags = trim($tags);
Please login to merge, or discard this patch.