@@ -259,7 +259,7 @@ |
||
| 259 | 259 | * Appends code coverage data. |
| 260 | 260 | * |
| 261 | 261 | * @param array $data |
| 262 | - * @param mixed $id |
|
| 262 | + * @param null|string $id |
|
| 263 | 263 | * @param bool $append |
| 264 | 264 | * @param mixed $linesToBeCovered |
| 265 | 265 | * @param array $linesToBeUsed |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * Returns the current element. |
| 68 | 68 | * |
| 69 | - * @return PHPUnit_Framework_Test |
|
| 69 | + * @return PHP_CodeCoverage_Report_Node|null |
|
| 70 | 70 | */ |
| 71 | 71 | public function current() |
| 72 | 72 | { |
@@ -13,6 +13,9 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | class PHP_CodeCoverage_Report_XML_File_Report extends PHP_CodeCoverage_Report_XML_File |
| 15 | 15 | { |
| 16 | + /** |
|
| 17 | + * @param string $name |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($name) |
| 17 | 20 | { |
| 18 | 21 | $this->dom = new DOMDocument; |
@@ -58,6 +61,9 @@ discard block |
||
| 58 | 61 | return $this->getUnitObject('trait', $name); |
| 59 | 62 | } |
| 60 | 63 | |
| 64 | + /** |
|
| 65 | + * @param string $tagName |
|
| 66 | + */ |
|
| 61 | 67 | private function getUnitObject($tagName, $name) |
| 62 | 68 | { |
| 63 | 69 | $node = $this->contextNode->appendChild( |
@@ -60,6 +60,9 @@ discard block |
||
| 60 | 60 | return new PHP_CodeCoverage_Report_XML_Totals($totalsContainer); |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | + /** |
|
| 64 | + * @param string $name |
|
| 65 | + */ |
|
| 63 | 66 | public function addDirectory($name) |
| 64 | 67 | { |
| 65 | 68 | $dirNode = $this->getDom()->createElementNS( |
@@ -73,6 +76,10 @@ discard block |
||
| 73 | 76 | return new PHP_CodeCoverage_Report_XML_Directory($dirNode); |
| 74 | 77 | } |
| 75 | 78 | |
| 79 | + /** |
|
| 80 | + * @param string $name |
|
| 81 | + * @param string $href |
|
| 82 | + */ |
|
| 76 | 83 | public function addFile($name, $href) |
| 77 | 84 | { |
| 78 | 85 | $fileNode = $this->getDom()->createElementNS( |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class PHP_CodeCoverage_Report_XML_Project extends PHP_CodeCoverage_Report_XML_Node |
| 15 | 15 | { |
| 16 | + /** |
|
| 17 | + * @param string $name |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($name) |
| 17 | 20 | { |
| 18 | 21 | $this->init(); |
@@ -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 | |
@@ -137,7 +137,6 @@ discard block |
||
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | /** |
| 140 | - * @param mixed $value, ... |
|
| 141 | 140 | * @return PHPUnit_Framework_MockObject_Builder_InvocationMocker |
| 142 | 141 | */ |
| 143 | 142 | public function willReturnOnConsecutiveCalls() |
@@ -193,7 +192,6 @@ discard block |
||
| 193 | 192 | } |
| 194 | 193 | |
| 195 | 194 | /** |
| 196 | - * @param mixed $argument, ... |
|
| 197 | 195 | * @return PHPUnit_Framework_MockObject_Builder_InvocationMocker |
| 198 | 196 | */ |
| 199 | 197 | public function with() |
@@ -237,7 +235,7 @@ discard block |
||
| 237 | 235 | } |
| 238 | 236 | |
| 239 | 237 | /** |
| 240 | - * @param PHPUnit_Framework_Constraint|string $constraint |
|
| 238 | + * @param string $constraint |
|
| 241 | 239 | * @return PHPUnit_Framework_MockObject_Builder_InvocationMocker |
| 242 | 240 | */ |
| 243 | 241 | public function method($constraint) |