@@ -126,6 +126,9 @@ |
||
| 126 | 126 | ); |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | + /** |
|
| 130 | + * @param string $methodName |
|
| 131 | + */ |
|
| 129 | 132 | private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName, |
| 130 | 133 | array $arguments) |
| 131 | 134 | { |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * |
| 40 | 40 | * @param ObjectProphecy $objectProphecy |
| 41 | 41 | * @param string $methodName |
| 42 | - * @param null|Argument\ArgumentsWildcard|array $arguments |
|
| 42 | + * @param Argument\ArgumentsWildcard $arguments |
|
| 43 | 43 | * |
| 44 | 44 | * @throws \Prophecy\Exception\Doubler\MethodNotFoundException If method not found |
| 45 | 45 | */ |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | /** |
| 263 | 263 | * Checks provided prediction immediately. |
| 264 | 264 | * |
| 265 | - * @param callable|Prediction\PredictionInterface $prediction |
|
| 265 | + * @param Prediction\PredictionInterface $prediction |
|
| 266 | 266 | * |
| 267 | 267 | * @return $this |
| 268 | 268 | * |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | /** |
| 369 | 369 | * Returns currently registered promise. |
| 370 | 370 | * |
| 371 | - * @return null|Promise\PromiseInterface |
|
| 371 | + * @return Promise\PromiseInterface |
|
| 372 | 372 | */ |
| 373 | 373 | public function getPromise() |
| 374 | 374 | { |
@@ -378,7 +378,7 @@ discard block |
||
| 378 | 378 | /** |
| 379 | 379 | * Returns currently registered prediction. |
| 380 | 380 | * |
| 381 | - * @return null|Prediction\PredictionInterface |
|
| 381 | + * @return Prediction\PredictionInterface |
|
| 382 | 382 | */ |
| 383 | 383 | public function getPrediction() |
| 384 | 384 | { |
@@ -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 | { |