@@ -22,7 +22,6 @@ |
||
| 22 | 22 | use Baleen\Migrations\Exception\InvalidArgumentException; |
| 23 | 23 | use Baleen\Migrations\Migration\Factory\FactoryInterface; |
| 24 | 24 | use Baleen\Migrations\Migration\MigrationInterface; |
| 25 | -use Baleen\Migrations\Version; |
|
| 26 | 25 | use Baleen\Migrations\Version\Collection\Linked; |
| 27 | 26 | use Baleen\Migrations\Version\Comparator\ComparatorInterface; |
| 28 | 27 | use Baleen\Migrations\Version\LinkedVersion; |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | /** |
| 118 | 118 | * @param VersionInterface $version |
| 119 | 119 | * @param OptionsInterface $options |
| 120 | - * @return bool |
|
| 120 | + * @return boolean|null |
|
| 121 | 121 | */ |
| 122 | 122 | protected function doRun(VersionInterface $version, OptionsInterface $options) |
| 123 | 123 | { |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * @param OptionsInterface $options |
| 43 | 43 | * @param Linked $versions |
| 44 | 44 | * @param Progress $progress |
| 45 | - * @return \Symfony\Component\EventDispatcher\Event|void |
|
| 45 | + * @return \Symfony\Component\EventDispatcher\Event |
|
| 46 | 46 | */ |
| 47 | 47 | public function dispatchCollectionBefore( |
| 48 | 48 | VersionInterface $targetVersion, |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * @param OptionsInterface $options |
| 62 | 62 | * @param Linked $versions |
| 63 | 63 | * @param Progress $progress |
| 64 | - * @return \Symfony\Component\EventDispatcher\Event|void |
|
| 64 | + * @return \Symfony\Component\EventDispatcher\Event |
|
| 65 | 65 | */ |
| 66 | 66 | public function dispatchCollectionAfter( |
| 67 | 67 | VersionInterface $targetVersion, |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * @param VersionInterface $version |
| 80 | 80 | * @param OptionsInterface $options |
| 81 | 81 | * @param Progress|null $progress |
| 82 | - * @return \Symfony\Component\EventDispatcher\Event|void |
|
| 82 | + * @return \Symfony\Component\EventDispatcher\Event |
|
| 83 | 83 | */ |
| 84 | 84 | public function dispatchMigrationBefore( |
| 85 | 85 | VersionInterface $version, |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * @param VersionInterface $version |
| 97 | 97 | * @param OptionsInterface $options |
| 98 | 98 | * @param Progress|null $progress |
| 99 | - * @return \Symfony\Component\EventDispatcher\Event|void |
|
| 99 | + * @return \Symfony\Component\EventDispatcher\Event |
|
| 100 | 100 | */ |
| 101 | 101 | public function dispatchMigrationAfter( |
| 102 | 102 | VersionInterface $version, |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | use Baleen\Migrations\Exception\InvalidArgumentException; |
| 23 | 23 | use Baleen\Migrations\Exception\MigrationMissingException; |
| 24 | 24 | use Baleen\Migrations\Timeline; |
| 25 | -use Baleen\Migrations\Version\Collection; |
|
| 26 | 25 | use Baleen\Migrations\Version\Collection\Linked; |
| 27 | 26 | use Baleen\Migrations\Version\Collection\Migrated; |
| 28 | 27 | use Baleen\Migrations\Version\Collection\Resolver\ResolverInterface; |
@@ -46,6 +46,7 @@ |
||
| 46 | 46 | * Sets whether the version has already been migrated or not. |
| 47 | 47 | * |
| 48 | 48 | * @param $migrated boolean |
| 49 | + * @return void |
|
| 49 | 50 | */ |
| 50 | 51 | public function setMigrated($migrated); |
| 51 | 52 | } |
@@ -46,6 +46,7 @@ |
||
| 46 | 46 | * Sets whether the version has already been migrated or not. |
| 47 | 47 | * |
| 48 | 48 | * @param $migrated boolean |
| 49 | + * @return void |
|
| 49 | 50 | */ |
| 50 | 51 | public function setMigrated($migrated); |
| 51 | 52 | } |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | use Baleen\Migrations\Exception\InvalidArgumentException; |
| 23 | 23 | use Baleen\Migrations\Migration\Factory\FactoryInterface; |
| 24 | 24 | use Baleen\Migrations\Migration\MigrationInterface; |
| 25 | -use Baleen\Migrations\Version; |
|
| 26 | 25 | use Baleen\Migrations\Version\Collection\Linked; |
| 27 | 26 | use Baleen\Migrations\Version\Comparator\ComparatorInterface; |
| 28 | 27 | use Baleen\Migrations\Version\LinkedVersion; |