@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | /** |
| 273 | 273 | * Gets an array of foreign keys waiting to be commited. |
| 274 | 274 | * |
| 275 | - * @return array|ForeignKey[] |
|
| 275 | + * @return ForeignKey[] |
|
| 276 | 276 | */ |
| 277 | 277 | public function getForeignKeys() |
| 278 | 278 | { |
@@ -451,7 +451,7 @@ discard block |
||
| 451 | 451 | /** |
| 452 | 452 | * Removes the given index from a table. |
| 453 | 453 | * |
| 454 | - * @param array $columns Columns |
|
| 454 | + * @param string[] $columns Columns |
|
| 455 | 455 | * @param array $options Options |
| 456 | 456 | * @return Table |
| 457 | 457 | */ |
@@ -491,8 +491,8 @@ discard block |
||
| 491 | 491 | * In $options you can specify on_delete|on_delete = cascade|no_action .., |
| 492 | 492 | * on_update, constraint = constraint name. |
| 493 | 493 | * |
| 494 | - * @param string|array $columns Columns |
|
| 495 | - * @param string|Table $referencedTable Referenced Table |
|
| 494 | + * @param string $columns Columns |
|
| 495 | + * @param string $referencedTable Referenced Table |
|
| 496 | 496 | * @param string|array $referencedColumns Referenced Columns |
| 497 | 497 | * @param array $options Options |
| 498 | 498 | * @return Table |
@@ -519,7 +519,7 @@ discard block |
||
| 519 | 519 | /** |
| 520 | 520 | * Removes the given foreign key from the table. |
| 521 | 521 | * |
| 522 | - * @param string|array $columns Column(s) |
|
| 522 | + * @param string $columns Column(s) |
|
| 523 | 523 | * @param null|string $constraint Constraint names |
| 524 | 524 | * @return Table |
| 525 | 525 | */ |
@@ -540,7 +540,7 @@ discard block |
||
| 540 | 540 | /** |
| 541 | 541 | * Checks to see if a foreign key exists. |
| 542 | 542 | * |
| 543 | - * @param string|array $columns Column(s) |
|
| 543 | + * @param string $columns Column(s) |
|
| 544 | 544 | * @param null|string $constraint Constraint names |
| 545 | 545 | * @return boolean |
| 546 | 546 | */ |
@@ -129,8 +129,6 @@ |
||
| 129 | 129 | /** |
| 130 | 130 | * Executes the specified seeder on this environment. |
| 131 | 131 | * |
| 132 | - * @param MigrationInterface $migration Migration |
|
| 133 | - * @param string $direction Direction |
|
| 134 | 132 | * @return void |
| 135 | 133 | */ |
| 136 | 134 | public function executeSeed(SeedInterface $seed) |
@@ -6,6 +6,9 @@ |
||
| 6 | 6 | |
| 7 | 7 | class UtilTest extends \PHPUnit_Framework_TestCase |
| 8 | 8 | { |
| 9 | + /** |
|
| 10 | + * @param string $path |
|
| 11 | + */ |
|
| 9 | 12 | private function getCorrectedPath($path) |
| 10 | 13 | { |
| 11 | 14 | return str_replace('/', DIRECTORY_SEPARATOR, $path); |
@@ -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 | { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Constructor. |
| 25 | 25 | * |
| 26 | - * @param GitCommand $gitCommand Git command |
|
| 26 | + * @param GitCommand $command Git command |
|
| 27 | 27 | */ |
| 28 | 28 | public function __construct(GitCommand $command) |
| 29 | 29 | { |
@@ -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 | * |
@@ -92,7 +91,6 @@ discard block |
||
| 92 | 91 | * |
| 93 | 92 | * @param array $options Processed configuration. |
| 94 | 93 | * @param string $rootDir Path to project root directory. |
| 95 | - * @param InputInterface $input|null Input arguments. |
|
| 96 | 94 | * |
| 97 | 95 | * @return \Satooshi\Bundle\CoverallsV1Bundle\Config\Configuration |
| 98 | 96 | */ |
@@ -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 | */ |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * |
| 85 | 85 | * @param integer $statements Number of statements. |
| 86 | 86 | * @param integer $coveredStatements Number of covered statements. |
| 87 | - * @return float |
|
| 87 | + * @return integer |
|
| 88 | 88 | */ |
| 89 | 89 | protected function calculateLineCoverage($statements, $coveredStatements) |
| 90 | 90 | { |