Completed
Push — master ( 3c84e0...8482f5 )
by max
02:01
created
src/MigrationVersion/TableGatewayFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      * Create service
16 16
      *
17 17
      * @param ServiceLocatorInterface $serviceLocator
18
-     * @return mixed
18
+     * @return TableGateway
19 19
      */
20 20
     public function createService(ServiceLocatorInterface $serviceLocator)
21 21
     {
Please login to merge, or discard this patch.
src/Service/GeneratorFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * Create service
15 15
      *
16 16
      * @param ServiceLocatorInterface $serviceLocator
17
-     * @return mixed
17
+     * @return Generator
18 18
      */
19 19
     public function createService(ServiceLocatorInterface $serviceLocator)
20 20
     {
Please login to merge, or discard this patch.
src/Service/MigrationFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * Create service
15 15
      *
16 16
      * @param ServiceLocatorInterface $serviceLocator
17
-     * @return mixed
17
+     * @return Migration
18 18
      */
19 19
     public function createService(ServiceLocatorInterface $serviceLocator)
20 20
     {
Please login to merge, or discard this patch.
src/MigrationVersion/Table.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
         $this->tableGateway->delete(['version' => $version]);
29 29
     }
30 30
 
31
+    /**
32
+     * @param string $version
33
+     */
31 34
     public function applied($version)
32 35
     {
33 36
         $result = $this->tableGateway->select(['version' => $version]);
Please login to merge, or discard this patch.
src/Service/VersionResolverFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * Create service
15 15
      *
16 16
      * @param ServiceLocatorInterface $serviceLocator
17
-     * @return mixed
17
+     * @return VersionResolver
18 18
      */
19 19
     public function createService(ServiceLocatorInterface $serviceLocator)
20 20
     {
Please login to merge, or discard this patch.
src/Service/Migration.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace T4web\Migrations\Service;
4 4
 
5 5
 use Zend\Db\Adapter\Exception\InvalidQueryException;
6
-use Zend\Db\Sql\Ddl;
7 6
 use Zend\ServiceManager\ServiceLocatorInterface;
8 7
 use Zend\Console\Adapter\Posix as Console;
9 8
 use T4web\Migrations\Migration\AbstractMigration;
10
-use T4web\Migrations\Config;
11 9
 use T4web\Migrations\MigrationVersion\Table;
12 10
 
13 11
 /**
Please login to merge, or discard this patch.