@@ -51,7 +51,6 @@ |
||
| 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 | */ |
@@ -43,6 +43,9 @@ |
||
| 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); |
@@ -219,6 +219,9 @@ |
||
| 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) { |
@@ -103,6 +103,10 @@ discard block |
||
| 103 | 103 | ); |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | + /** |
|
| 107 | + * @param integer $tagName |
|
| 108 | + * @param string $handler |
|
| 109 | + */ |
|
| 106 | 110 | public function registerTagHandler($tagName, $handler) |
| 107 | 111 | { |
| 108 | 112 | $this->tagFactory->registerTagHandler($tagName, $handler); |
@@ -254,7 +258,7 @@ discard block |
||
| 254 | 258 | } |
| 255 | 259 | |
| 256 | 260 | /** |
| 257 | - * @param $tags |
|
| 261 | + * @param string $tags |
|
| 258 | 262 | * @return string |
| 259 | 263 | */ |
| 260 | 264 | private function filterTagBlock($tags) |
@@ -145,6 +145,9 @@ |
||
| 145 | 145 | public $errors; |
| 146 | 146 | public $value = null; |
| 147 | 147 | |
| 148 | + /** |
|
| 149 | + * @param string $value |
|
| 150 | + */ |
|
| 148 | 151 | public function __construct($value) |
| 149 | 152 | { |
| 150 | 153 | $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 | */ |
@@ -145,6 +145,9 @@ |
||
| 145 | 145 | ); |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | + /** |
|
| 149 | + * @param string $methodName |
|
| 150 | + */ |
|
| 148 | 151 | private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName, |
| 149 | 152 | array $arguments) |
| 150 | 153 | { |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * |
| 41 | 41 | * @param ObjectProphecy $objectProphecy |
| 42 | 42 | * @param string $methodName |
| 43 | - * @param null|Argument\ArgumentsWildcard|array $arguments |
|
| 43 | + * @param Argument\ArgumentsWildcard $arguments |
|
| 44 | 44 | * |
| 45 | 45 | * @throws \Prophecy\Exception\Doubler\MethodNotFoundException If method not found |
| 46 | 46 | */ |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | /** |
| 282 | 282 | * Checks provided prediction immediately. |
| 283 | 283 | * |
| 284 | - * @param callable|Prediction\PredictionInterface $prediction |
|
| 284 | + * @param Prediction\PredictionInterface $prediction |
|
| 285 | 285 | * |
| 286 | 286 | * @return $this |
| 287 | 287 | * |
@@ -313,7 +313,7 @@ |
||
| 313 | 313 | * Appends code coverage data. |
| 314 | 314 | * |
| 315 | 315 | * @param array $data |
| 316 | - * @param mixed $id |
|
| 316 | + * @param null|string $id |
|
| 317 | 317 | * @param bool $append |
| 318 | 318 | * @param mixed $linesToBeCovered |
| 319 | 319 | * @param array $linesToBeUsed |