@@ -270,6 +270,9 @@ |
||
| 270 | 270 | return $this->target; |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | + /** |
|
| 274 | + * @param string $name |
|
| 275 | + */ |
|
| 273 | 276 | protected function saveDocument(\DOMDocument $document, $name) |
| 274 | 277 | { |
| 275 | 278 | $filename = sprintf('%s/%s.xml', $this->getTargetDirectory(), $name); |
@@ -59,6 +59,9 @@ discard block |
||
| 59 | 59 | return new Totals($totalsContainer); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param string $name |
|
| 64 | + */ |
|
| 62 | 65 | public function addDirectory($name) |
| 63 | 66 | { |
| 64 | 67 | $dirNode = $this->getDom()->createElementNS( |
@@ -72,6 +75,10 @@ discard block |
||
| 72 | 75 | return new Directory($dirNode); |
| 73 | 76 | } |
| 74 | 77 | |
| 78 | + /** |
|
| 79 | + * @param string $name |
|
| 80 | + * @param string $href |
|
| 81 | + */ |
|
| 75 | 82 | public function addFile($name, $href) |
| 76 | 83 | { |
| 77 | 84 | $fileNode = $this->getDom()->createElementNS( |
@@ -34,6 +34,9 @@ |
||
| 34 | 34 | ); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param string $name |
|
| 39 | + */ |
|
| 37 | 40 | private function setProjectSourceDirectory($name) |
| 38 | 41 | { |
| 39 | 42 | $this->getContextNode()->setAttribute('source', $name); |
@@ -12,6 +12,9 @@ discard block |
||
| 12 | 12 | |
| 13 | 13 | class Report extends File |
| 14 | 14 | { |
| 15 | + /** |
|
| 16 | + * @param string $name |
|
| 17 | + */ |
|
| 15 | 18 | public function __construct($name) |
| 16 | 19 | { |
| 17 | 20 | $dom = new \DOMDocument(); |
@@ -59,6 +62,9 @@ discard block |
||
| 59 | 62 | return $this->getUnitObject('trait', $name); |
| 60 | 63 | } |
| 61 | 64 | |
| 65 | + /** |
|
| 66 | + * @param string $tagName |
|
| 67 | + */ |
|
| 62 | 68 | private function getUnitObject($tagName, $name) |
| 63 | 69 | { |
| 64 | 70 | $node = $this->getContextNode()->appendChild( |
@@ -131,7 +131,7 @@ |
||
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | 133 | * @param string $filename |
| 134 | - * @param array $subString |
|
| 134 | + * @param array $subStrings |
|
| 135 | 135 | * @param int $type |
| 136 | 136 | * @return bool |
| 137 | 137 | * @since Method available since Release 1.1.0 |
@@ -530,7 +530,7 @@ |
||
| 530 | 530 | } |
| 531 | 531 | |
| 532 | 532 | /** |
| 533 | - * @return boolean|string |
|
| 533 | + * @return false|string |
|
| 534 | 534 | */ |
| 535 | 535 | public function getParent() |
| 536 | 536 | { |
@@ -14,6 +14,9 @@ |
||
| 14 | 14 | |
| 15 | 15 | interface b extends a |
| 16 | 16 | { |
| 17 | + /** |
|
| 18 | + * @return void |
|
| 19 | + */ |
|
| 17 | 20 | public function baz(Baz $baz); |
| 18 | 21 | } |
| 19 | 22 | |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * @param PHPUnit_Framework_MockObject_Stub_MatcherCollection $collection |
| 38 | 38 | * @param PHPUnit_Framework_MockObject_Matcher_Invocation $invocationMatcher |
| 39 | - * @param array $configurableMethods |
|
| 39 | + * @param string[] $configurableMethods |
|
| 40 | 40 | */ |
| 41 | 41 | public function __construct(PHPUnit_Framework_MockObject_Stub_MatcherCollection $collection, PHPUnit_Framework_MockObject_Matcher_Invocation $invocationMatcher, array $configurableMethods) |
| 42 | 42 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * @param mixed $value |
|
| 86 | + * @param string $value |
|
| 87 | 87 | * @param mixed $nextValues, ... |
| 88 | 88 | * |
| 89 | 89 | * @return PHPUnit_Framework_MockObject_Builder_InvocationMocker |
@@ -222,6 +222,7 @@ discard block |
||
| 222 | 222 | |
| 223 | 223 | /** |
| 224 | 224 | * @param array ...$arguments |
| 225 | + * @param string $arguments |
|
| 225 | 226 | * |
| 226 | 227 | * @return PHPUnit_Framework_MockObject_Builder_InvocationMocker |
| 227 | 228 | */ |
@@ -261,7 +262,7 @@ discard block |
||
| 261 | 262 | } |
| 262 | 263 | |
| 263 | 264 | /** |
| 264 | - * @param PHPUnit_Framework_Constraint|string $constraint |
|
| 265 | + * @param string $constraint |
|
| 265 | 266 | * |
| 266 | 267 | * @return PHPUnit_Framework_MockObject_Builder_InvocationMocker |
| 267 | 268 | */ |
@@ -397,7 +397,7 @@ |
||
| 397 | 397 | * @param bool $callOriginalClone |
| 398 | 398 | * @param bool $callAutoload |
| 399 | 399 | * |
| 400 | - * @return object |
|
| 400 | + * @return PHPUnit_Framework_MockObject_MockObject |
|
| 401 | 401 | * |
| 402 | 402 | * @throws PHPUnit_Framework_MockObject_RuntimeException |
| 403 | 403 | * @throws PHPUnit\Framework\Exception |