@@ -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 | { |
@@ -22,7 +22,6 @@ discard block |
||
| 22 | 22 | * |
| 23 | 23 | * @param string $coverallsYmlPath Path to .coveralls.yml. |
| 24 | 24 | * @param string $rootDir Path to project root directory. |
| 25 | - * @param InputInterface $input|null Input arguments. |
|
| 26 | 25 | * |
| 27 | 26 | * @return \Satooshi\Bundle\CoverallsV1Bundle\Config\Configuration |
| 28 | 27 | * |
@@ -82,7 +81,6 @@ discard block |
||
| 82 | 81 | * |
| 83 | 82 | * @param array $options Processed configuration. |
| 84 | 83 | * @param string $rootDir Path to project root directory. |
| 85 | - * @param InputInterface $input|null Input arguments. |
|
| 86 | 84 | * |
| 87 | 85 | * @return \Satooshi\Bundle\CoverallsV1Bundle\Config\Configuration |
| 88 | 86 | */ |
@@ -557,7 +557,7 @@ |
||
| 557 | 557 | /** |
| 558 | 558 | * Set git data. |
| 559 | 559 | * |
| 560 | - * @param array $git Git data. |
|
| 560 | + * @param Git $git Git data. |
|
| 561 | 561 | * |
| 562 | 562 | * @return \Satooshi\Bundle\CoverallsV1Bundle\Entity\JsonFile |
| 563 | 563 | */ |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | * @param int $statements Number of statements. |
| 86 | 86 | * @param int $coveredStatements Number of covered statements. |
| 87 | 87 | * |
| 88 | - * @return float |
|
| 88 | + * @return integer |
|
| 89 | 89 | */ |
| 90 | 90 | protected function calculateLineCoverage($statements, $coveredStatements) |
| 91 | 91 | { |
@@ -126,6 +126,9 @@ |
||
| 126 | 126 | } |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | + /** |
|
| 130 | + * @param string $lines |
|
| 131 | + */ |
|
| 129 | 132 | protected function indent($lines) |
| 130 | 133 | { |
| 131 | 134 | return trim(str_replace("\n", "\n ", $lines)); |
@@ -98,6 +98,9 @@ |
||
| 98 | 98 | ]; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | + /** |
|
| 102 | + * @param string $content |
|
| 103 | + */ |
|
| 101 | 104 | private function createDOMDocument($content) |
| 102 | 105 | { |
| 103 | 106 | $document = new DOMDocument; |