@@ -104,7 +104,7 @@ |
||
| 104 | 104 | * @param string $description Additional information about the test |
| 105 | 105 | * @param bool $returnResult Whether to return a result or throw an exception |
| 106 | 106 | * |
| 107 | - * @return mixed |
|
| 107 | + * @return boolean |
|
| 108 | 108 | * |
| 109 | 109 | * @throws ExpectationFailedException |
| 110 | 110 | */ |
@@ -1157,6 +1157,7 @@ discard block |
||
| 1157 | 1157 | * Sets the name of a TestCase. |
| 1158 | 1158 | * |
| 1159 | 1159 | * @param string |
| 1160 | + * @param string $name |
|
| 1160 | 1161 | */ |
| 1161 | 1162 | public function setName($name) |
| 1162 | 1163 | { |
@@ -1367,8 +1368,6 @@ discard block |
||
| 1367 | 1368 | * This method is a wrapper for the setlocale() function that automatically |
| 1368 | 1369 | * resets the locale to its original value after the test is run. |
| 1369 | 1370 | * |
| 1370 | - * @param int $category |
|
| 1371 | - * @param string $locale |
|
| 1372 | 1371 | * |
| 1373 | 1372 | * @throws Exception |
| 1374 | 1373 | */ |
@@ -1661,7 +1660,7 @@ discard block |
||
| 1661 | 1660 | * @param bool $callOriginalClone |
| 1662 | 1661 | * @param bool $callAutoload |
| 1663 | 1662 | * |
| 1664 | - * @return object |
|
| 1663 | + * @return PHPUnit_Framework_MockObject_MockObject |
|
| 1665 | 1664 | * |
| 1666 | 1665 | * @throws Exception |
| 1667 | 1666 | */ |
@@ -1871,7 +1870,6 @@ discard block |
||
| 1871 | 1870 | } |
| 1872 | 1871 | |
| 1873 | 1872 | /** |
| 1874 | - * @param mixed $value , ... |
|
| 1875 | 1873 | * |
| 1876 | 1874 | * @return PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls |
| 1877 | 1875 | */ |
@@ -2340,7 +2338,6 @@ discard block |
||
| 2340 | 2338 | |
| 2341 | 2339 | /** |
| 2342 | 2340 | * @param array $testArguments |
| 2343 | - * @param array $originalTestArguments |
|
| 2344 | 2341 | */ |
| 2345 | 2342 | private function registerMockObjectsFromTestArguments(array $testArguments, array &$visited = []) |
| 2346 | 2343 | { |
@@ -415,6 +415,7 @@ discard block |
||
| 415 | 415 | * Parse --INI-- section key value pairs and return as array. |
| 416 | 416 | * |
| 417 | 417 | * @param string |
| 418 | + * @param string $content |
|
| 418 | 419 | * |
| 419 | 420 | * @return array |
| 420 | 421 | */ |
@@ -423,6 +424,9 @@ discard block |
||
| 423 | 424 | return \preg_split('/\n|\r/', $content, -1, PREG_SPLIT_NO_EMPTY); |
| 424 | 425 | } |
| 425 | 426 | |
| 427 | + /** |
|
| 428 | + * @param string $content |
|
| 429 | + */ |
|
| 426 | 430 | protected function parseEnvSection($content) |
| 427 | 431 | { |
| 428 | 432 | $env = []; |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | * @param bool $verbose |
| 136 | 136 | * @param string $colors |
| 137 | 137 | * @param bool $debug |
| 138 | - * @param int|string $numberOfColumns |
|
| 138 | + * @param integer $numberOfColumns |
|
| 139 | 139 | * @param bool $reverse |
| 140 | 140 | * |
| 141 | 141 | * @throws Exception |
@@ -573,6 +573,9 @@ discard block |
||
| 573 | 573 | } |
| 574 | 574 | } |
| 575 | 575 | |
| 576 | + /** |
|
| 577 | + * @param string $docComment |
|
| 578 | + */ |
|
| 576 | 579 | private static function cleanUpMultiLineAnnotation($docComment) |
| 577 | 580 | { |
| 578 | 581 | //removing initial ' * ' for docComment |
@@ -742,7 +745,7 @@ discard block |
||
| 742 | 745 | * @param string $className |
| 743 | 746 | * @param string $methodName |
| 744 | 747 | * |
| 745 | - * @return bool |
|
| 748 | + * @return boolean|null |
|
| 746 | 749 | */ |
| 747 | 750 | public static function getErrorHandlerSettings($className, $methodName) |
| 748 | 751 | { |
@@ -862,7 +865,7 @@ discard block |
||
| 862 | 865 | * @param string $className |
| 863 | 866 | * @param string $methodName |
| 864 | 867 | * |
| 865 | - * @return bool |
|
| 868 | + * @return boolean|null |
|
| 866 | 869 | */ |
| 867 | 870 | public static function getPreserveGlobalStateSettings($className, $methodName) |
| 868 | 871 | { |
@@ -938,7 +941,7 @@ discard block |
||
| 938 | 941 | * @param string $methodName |
| 939 | 942 | * @param string $settingName |
| 940 | 943 | * |
| 941 | - * @return bool |
|
| 944 | + * @return boolean|null |
|
| 942 | 945 | */ |
| 943 | 946 | private static function getBooleanAnnotationSetting($className, $methodName, $settingName) |
| 944 | 947 | { |
@@ -1127,7 +1130,7 @@ discard block |
||
| 1127 | 1130 | /** |
| 1128 | 1131 | * @param ReflectionMethod $method |
| 1129 | 1132 | * |
| 1130 | - * @return bool |
|
| 1133 | + * @return integer |
|
| 1131 | 1134 | */ |
| 1132 | 1135 | private static function isBeforeMethod(ReflectionMethod $method) |
| 1133 | 1136 | { |
@@ -1147,7 +1150,7 @@ discard block |
||
| 1147 | 1150 | /** |
| 1148 | 1151 | * @param ReflectionMethod $method |
| 1149 | 1152 | * |
| 1150 | - * @return bool |
|
| 1153 | + * @return integer |
|
| 1151 | 1154 | */ |
| 1152 | 1155 | private static function isAfterMethod(ReflectionMethod $method) |
| 1153 | 1156 | { |
@@ -1158,9 +1161,9 @@ discard block |
||
| 1158 | 1161 | * Trims any extensions from version string that follows after |
| 1159 | 1162 | * the <major>.<minor>[.<patch>] format |
| 1160 | 1163 | * |
| 1161 | - * @param $version (Optional) |
|
| 1164 | + * @param string $version (Optional) |
|
| 1162 | 1165 | * |
| 1163 | - * @return mixed |
|
| 1166 | + * @return string |
|
| 1164 | 1167 | */ |
| 1165 | 1168 | private static function sanitizeVersionNumber($version) |
| 1166 | 1169 | { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Returns the bank account's balance. |
| 29 | 29 | * |
| 30 | - * @return float |
|
| 30 | + * @return integer |
|
| 31 | 31 | */ |
| 32 | 32 | public function getBalance() |
| 33 | 33 | { |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | /** |
| 66 | 66 | * Create CoverallsV1JobsCommand. |
| 67 | 67 | * |
| 68 | - * @return \Satooshi\Bundle\CoverallsBundle\Console\CoverallsV1JobsCommand |
|
| 68 | + * @return CoverallsV1JobsCommand |
|
| 69 | 69 | */ |
| 70 | 70 | protected function createCoverallsV1JobsCommand() |
| 71 | 71 | { |
@@ -176,7 +176,7 @@ |
||
| 176 | 176 | /** |
| 177 | 177 | * Return JsonFile. |
| 178 | 178 | * |
| 179 | - * @return JsonFile |
|
| 179 | + * @return Satooshi\Bundle\CoverallsV1Bundle\Entity\JsonFile|null |
|
| 180 | 180 | */ |
| 181 | 181 | public function getJsonFile() |
| 182 | 182 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Constructor. |
| 26 | 26 | * |
| 27 | - * @param GitCommand $gitCommand Git command |
|
| 27 | + * @param GitCommand $command Git command |
|
| 28 | 28 | */ |
| 29 | 29 | public function __construct(GitCommand $command) |
| 30 | 30 | { |