Skip to content

Commit

Permalink
Small code formatting tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Mar 11, 2015
1 parent 8ab9bff commit 749c142
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/Stevebauman/Inventory/Traits/InventoryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -612,10 +612,7 @@ public function regenerateSku()
*/
public function addSuppliers($suppliers = array())
{
foreach($suppliers as $supplier)
{
$this->addSupplier($supplier);
}
foreach($suppliers as $supplier) $this->addSupplier($supplier);

return true;
}
Expand All @@ -629,10 +626,7 @@ public function removeAllSuppliers()
{
$suppliers = $this->suppliers()->get();

foreach($suppliers as $supplier)
{
$this->removeSupplier($supplier);
}
foreach($suppliers as $supplier) $this->removeSupplier($supplier);

return true;
}
Expand All @@ -646,10 +640,7 @@ public function removeAllSuppliers()
*/
public function removeSuppliers($suppliers = array())
{
foreach($suppliers as $supplier)
{
$this->removeSupplier($supplier);
}
foreach($suppliers as $supplier) $this->removeSupplier($supplier);

return true;
}
Expand Down

0 comments on commit 749c142

Please sign in to comment.