@@ -56,7 +56,6 @@ |
||
56 | 56 | * |
57 | 57 | * @param string[] $types Array containing a list of types to add to this |
58 | 58 | * container. |
59 | - * @param Context $location The current invoking location. |
|
60 | 59 | */ |
61 | 60 | public function __construct( |
62 | 61 | array $types = array(), |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * @param string $exContent |
32 | 32 | * @param string $exStartingLine |
33 | 33 | * @param string $exLineCount |
34 | - * @param string $exFilepath |
|
34 | + * @param string $exFilePath |
|
35 | 35 | * |
36 | 36 | * @covers \phpDocumentor\Reflection\DocBlock\Tag\ExampleTag |
37 | 37 | * @dataProvider provideDataForConstuctor |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace spec\Prophecy\Doubler; |
4 | 4 | |
5 | 5 | use PhpSpec\ObjectBehavior; |
6 | -use Prophecy\Argument; |
|
7 | 6 | |
8 | 7 | class DoublerSpec extends ObjectBehavior |
9 | 8 | { |
@@ -312,6 +312,9 @@ |
||
312 | 312 | public $errors; |
313 | 313 | public $value = null; |
314 | 314 | |
315 | + /** |
|
316 | + * @param string $value |
|
317 | + */ |
|
315 | 318 | public function __construct($value) |
316 | 319 | { |
317 | 320 | $this->value = $value; |
@@ -45,7 +45,7 @@ |
||
45 | 45 | /** |
46 | 46 | * Scores 10 if argument matches preset value. |
47 | 47 | * |
48 | - * @param $argument |
|
48 | + * @param string $argument |
|
49 | 49 | * |
50 | 50 | * @return bool|int |
51 | 51 | */ |
@@ -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 | { |
@@ -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( |