@@ -188,7 +188,7 @@ |
||
| 188 | 188 | * so that variables defined in it do not break |
| 189 | 189 | * this object's configuration. |
| 190 | 190 | * |
| 191 | - * @param mixed $file |
|
| 191 | + * @param string $file |
|
| 192 | 192 | */ |
| 193 | 193 | protected function scopedRequire(string $file) |
| 194 | 194 | { |
@@ -129,9 +129,9 @@ |
||
| 129 | 129 | /** |
| 130 | 130 | * Add systemOut result on test (if has failed or have error). |
| 131 | 131 | * |
| 132 | - * @param mixed $node |
|
| 132 | + * @param \SimpleXMLElement $node |
|
| 133 | 133 | * |
| 134 | - * @return mixed |
|
| 134 | + * @return \SimpleXMLElement |
|
| 135 | 135 | */ |
| 136 | 136 | public static function addSystemOut(\SimpleXMLElement $node): \SimpleXMLElement |
| 137 | 137 | { |
@@ -47,8 +47,7 @@ |
||
| 47 | 47 | * has an annotation matching the name and value |
| 48 | 48 | * if provided. |
| 49 | 49 | * |
| 50 | - * @param string $anno |
|
| 51 | - * @param mixed $value |
|
| 50 | + * @param null|string $value |
|
| 52 | 51 | * |
| 53 | 52 | * @return bool |
| 54 | 53 | */ |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | * Return the class name of the class contained |
| 108 | 108 | * in the file. |
| 109 | 109 | * |
| 110 | - * @param mixed $filename |
|
| 110 | + * @param string $filename |
|
| 111 | 111 | * @param mixed $previousDeclaredClasses |
| 112 | 112 | * |
| 113 | 113 | * @return string |
@@ -340,7 +340,7 @@ |
||
| 340 | 340 | * @todo Skipped/Incomplete test tracking available only in functional mode for now |
| 341 | 341 | * or in regular mode but without group/exclude-group filters. |
| 342 | 342 | * |
| 343 | - * @param mixed $options |
|
| 343 | + * @param Options $options |
|
| 344 | 344 | * |
| 345 | 345 | * @return bool |
| 346 | 346 | */ |
@@ -25,6 +25,11 @@ discard block |
||
| 25 | 25 | $this->default = $default; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $default |
|
| 30 | + * |
|
| 31 | + * @return string |
|
| 32 | + */ |
|
| 28 | 33 | public static function getVersion($default = null) |
| 29 | 34 | { |
| 30 | 35 | $provider = new self($default); |
@@ -52,6 +57,9 @@ discard block |
||
| 52 | 57 | return $version; |
| 53 | 58 | } |
| 54 | 59 | |
| 60 | + /** |
|
| 61 | + * @param string $package |
|
| 62 | + */ |
|
| 55 | 63 | public function getComposerInstalledVersion($package) |
| 56 | 64 | { |
| 57 | 65 | if (null === $path = $this->getComposerInstalledJsonPath()) { |