Completed
Pull Request — master (#133)
by Daniel
01:46
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/DocBlockFactory.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,6 +104,10 @@  discard block
 block discarded – undo
104 104
         );
105 105
     }
106 106
 
107
+    /**
108
+     * @param integer $tagName
109
+     * @param string $handler
110
+     */
107 111
     public function registerTagHandler($tagName, $handler)
108 112
     {
109 113
         $this->tagFactory->registerTagHandler($tagName, $handler);
@@ -255,7 +259,7 @@  discard block
 block discarded – undo
255 259
     }
256 260
 
257 261
     /**
258
-     * @param $tags
262
+     * @param string $tags
259 263
      * @return string
260 264
      */
261 265
     private function filterTagBlock($tags)
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
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -42,6 +42,11 @@  discard block
 block discarded – undo
42 42
      */
43 43
     private $lineCount;
44 44
 
45
+    /**
46
+     * @param boolean $isURI
47
+     * @param integer $startingLine
48
+     * @param integer|null $lineCount
49
+     */
45 50
     public function __construct($filePath, $isURI, $startingLine, $lineCount, $description)
46 51
     {
47 52
         Assert::notEmpty($filePath);
@@ -79,6 +84,7 @@  discard block
 block discarded – undo
79 84
 
80 85
     /**
81 86
      * {@inheritdoc}
87
+     * @param string $body
82 88
      */
83 89
     public static function create($body)
84 90
     {
Please login to merge, or discard this patch.
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.
src/DocBlock.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,6 @@
 block discarded – undo
221 221
     /**
222 222
      * Remove a tag from this DocBlock.
223 223
      *
224
-     * @param Tag $tag The tag to remove.
225 224
      *
226 225
      * @return void
227 226
      */
Please login to merge, or discard this patch.
tests/integration/UsingTagsTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Reflection;
14 14
 
15
-use phpDocumentor\Reflection\DocBlock\Description;
16
-use phpDocumentor\Reflection\DocBlock\Tag;
17
-
18 15
 /**
19 16
  * @coversNothing
20 17
  */
Please login to merge, or discard this patch.