@@ -91,7 +91,7 @@ |
||
91 | 91 | [ |
92 | 92 | 'attribute_id' => $usedProductAttributeId, |
93 | 93 | 'label' => $product->getAttributeText($code), |
94 | - 'value_index' => (int)$product->getData($code), |
|
94 | + 'value_index' => (int) $product->getData($code), |
|
95 | 95 | 'is_percent' => 0, |
96 | 96 | 'pricing_value' => $product->getPrice(), |
97 | 97 | 'simple_product_id' => $product->getId() |
@@ -228,7 +228,7 @@ |
||
228 | 228 | */ |
229 | 229 | protected static function _deleteAndUnregisterFixture(Mage_Core_Model_Abstract $model, $fixtureType, $entry, $key) |
230 | 230 | { |
231 | - $fixture = $model->load((int)$entry); |
|
231 | + $fixture = $model->load((int) $entry); |
|
232 | 232 | $fixture->delete(); |
233 | 233 | FixtureBuilder::unregister($key); |
234 | 234 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | throw new NullCategoryParentId('Category fixture require parent_id. Check fixture yaml file.'); |
22 | 22 | } |
23 | 23 | |
24 | - $parentCategory = $this->_getMageModel()->load((int)$fixtureData['parent_id']); |
|
24 | + $parentCategory = $this->_getMageModel()->load((int) $fixtureData['parent_id']); |
|
25 | 25 | $parentCategoryPath = $parentCategory->getPath(); |
26 | 26 | unset($fixtureData['parent_id']); |
27 | 27 | $fixture = $this->_getMageModel()->setData($fixtureData); |