Completed
Pull Request — master (#15)
by Gabriel
03:16
created
src/Service/DomainBus/Migrate/Single/SingleHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @param SingleCommand $command
52 52
      *
53
-     * @return VersionInterface
53
+     * @return boolean
54 54
      */
55 55
     public function handle(SingleCommand $command)
56 56
     {
Please login to merge, or discard this patch.
src/Service/DomainBus/Migrate/Collection/CollectionHandler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         $filter = function (VersionInterface $v) use ($target, $comparator, $direction) {
48 48
             return ($direction->isUp() ^ $v->isMigrated()) // direction must be opposite to migration status
49 49
                     && $comparator->compare($v, $target) <= 0; // version must be before or be equal to target (not
50
-                                                               // affected by direction because comparator is reversed)
50
+                                                                // affected by direction because comparator is reversed)
51 51
         };
52 52
         $collection = $collection->filter($filter)->sort($comparator);
53 53
 
Please login to merge, or discard this patch.
src/Shared/Collection/CollectionInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * Gets all keys/indices of the collection.
101 101
      *
102
-     * @return array The keys/indices of the collection, in the order of the corresponding
102
+     * @return integer[] The keys/indices of the collection, in the order of the corresponding
103 103
      *               elements in the collection.
104 104
      */
105 105
     public function getKeys();
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      *
189 189
      * @param Closure $func
190 190
      *
191
-     * @return array
191
+     * @return \Baleen\Migrations\Version\VersionId[]
192 192
      */
193 193
     public function map(Closure $func);
194 194
 
Please login to merge, or discard this patch.