Completed
Pull Request — master (#138)
by Tomáš
01:10
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
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   +5 added lines patch added patch discarded remove patch
@@ -42,6 +42,11 @@
 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);
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.
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.