Failed Conditions
Pull Request — develop (#6)
by Carlo
02:23
created
magefix/src/Magefix/Fixture/Builder/AbstractBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @return mixed
147
+     * @return Provider
148 148
      */
149 149
     protected function _getDataProvider()
150 150
     {
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     }
211 211
 
212 212
     /**
213
-     * @param $node
213
+     * @param string $node
214 214
      *
215 215
      * @return array
216 216
      */
Please login to merge, or discard this patch.
magefix/src/Magefix/Fixture/Builder/SalesOrder.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Magefix\Fixture\Builder;
4 4
 
5
-use Mage;
6
-use Mage_Customer_Model_Group;
7 5
 use Magefix\Exceptions\UndefinedAttributes;
8 6
 use Magefix\Exceptions\UndefinedQuoteAddresses;
9 7
 use Magefix\Exceptions\UndefinedQuoteProducts;
@@ -13,7 +11,6 @@  discard block
 block discarded – undo
13 11
 use Magefix\Fixture\Builder\Helper\ShippingAddress;
14 12
 use Magefix\Fixture\Builder\Helper\ShippingMethod;
15 13
 use Magefix\Fixture\Factory\Builder;
16
-use Magefix\Fixture\Factory\ManyBuilder;
17 14
 
18 15
 /**
19 16
  * Class SalesOrder
Please login to merge, or discard this patch.
magefix/src/Magefix/Fixture/Factory/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 
63 63
         $iterator = new \ArrayIterator($entities);
64 64
 
65
-        while($iterator->valid()) {
65
+        while ($iterator->valid()) {
66 66
             $builder->throwUndefinedDataProvider($iterator->current());
67 67
             $fixtureId = self::_buildAndRegisterFixture($fixtureType, $hook, $iterator->current());
68 68
             $many[] = self::_getMagentoModel($iterator->current(), $fixtureId);
Please login to merge, or discard this patch.