Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/aimeos/aimeos-core
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Jan 26, 2020
2 parents bf33dd2 + 8e7f1de commit f15d2ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mshoplib/src/MShop/Index/Manager/Standard.php
Expand Up @@ -287,7 +287,7 @@ public function rebuild( array $items = [] ) : \Aimeos\MShop\Index\Manager\Iface
$catalogSearch->getConditions(),
);

if( !( $prodIds = map( $items)->getId() )->isEmpty() ) { // don't rely on array keys
if( !( $prodIds = map( $items )->getId() )->isEmpty() ) { // don't rely on array keys
$expr[] = $catalogSearch->compare( '==', 'catalog.lists.refid', $prodIds->toArray() );
}

Expand Down
Expand Up @@ -133,7 +133,7 @@ public function testUpdateNotAvailable()
->setMethods( ['isAvailable'] )->getMock();

$orderStub->expects( $this->once() )->method( 'getProducts' )
->will( $this->returnValue( map([$orderProduct] ) ) );
->will( $this->returnValue( map( [$orderProduct] ) ) );

$serviceStub->expects( $this->once() )->method( 'searchItems' )
->will( $this->returnValue( map( [1 => $serviceItemDelivery, 2 => $serviceItemPayment] ) ) );
Expand Down

0 comments on commit f15d2ba

Please sign in to comment.