Completed
Push — master ( 706d4d...7d1021 )
by max
02:05
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/Migration.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,11 +38,11 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * @param \Zend\Db\Adapter\Adapter $adapter
41
-     * @param                          $metadata
41
+     * @param                          \Zend\Db\Metadata\Metadata $metadata
42 42
      * @param array                    $config
43 43
      * @param                          $migrationVersionTable
44 44
      * @param OutputWriter             $writer
45
-     * @param null                     $serviceLocator
45
+     * @param \Zend\ServiceManager\ServiceLocatorInterface                     $serviceLocator
46 46
      * @throws \Exception
47 47
      */
48 48
     public function __construct(
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Zend\Db\Adapter\Adapter;
7 7
 use Zend\Db\Adapter\AdapterAwareInterface;
8 8
 use Zend\Db\Adapter\Exception\InvalidQueryException;
9
-use Zend\Db\Sql\Ddl;
10 9
 use Zend\ServiceManager\ServiceLocatorAwareInterface;
11 10
 
12 11
 /**
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/Service/OutputWriter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @param $line
27
+     * @param string $line
28 28
      */
29 29
     public function writeLine($line)
30 30
     {
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.