Skip to content

Commit

Permalink
Scrutinizer Auto-Fixes
Browse files Browse the repository at this point in the history
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
  • Loading branch information
scrutinizer-auto-fixer committed Mar 21, 2020
1 parent 07ad9b5 commit f8e8989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mshoplib/tests/MShop/Product/Item/StandardTest.php
Expand Up @@ -483,7 +483,7 @@ public function testGetStockItems()
public function testGetStockItemsType()
{
$stock = new \Aimeos\MShop\Stock\Item\Standard();
$stocks = [123 => (clone $stock)->setType( 'something' ), 456 => (clone $stock)->setType( 'default' )];
$stocks = [123 => ( clone $stock )->setType( 'something' ), 456 => ( clone $stock )->setType( 'default' )];
$object = new \Aimeos\MShop\Product\Item\Standard( ['stock' => $stocks] );

$this->assertInstanceOf( \Aimeos\Map::class, $object->getStockItems( 'default' ) );
Expand Down

0 comments on commit f8e8989

Please sign in to comment.