Completed
Push — master ( 32309c...101584 )
by Aimeos
03:33
created
controller/frontend/tests/Controller/Frontend/Review/StandardTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 		$item = $this->object->create( $this->getReviewItem()->setId( null )->toArray( true ) );
137 137
 
138 138
 		$this->manager->expects( $this->once() )->method( 'save' )
139
-			->will( $this->returnValue( (clone $item)->setId( 123 ) ) );
139
+			->will( $this->returnValue( ( clone $item )->setId( 123 ) ) );
140 140
 
141 141
 		$this->assertInstanceOf( \Aimeos\MShop\Review\Item\Iface::class, $this->object->save( $item ) );
142 142
 	}
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Review/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
 			->setName( $item->getName() )
218 218
 			->setDomain( 'product' );
219 219
 
220
-		$item =  $this->manager->save( $real );
220
+		$item = $this->manager->save( $real );
221 221
 
222 222
 		$filter = $this->manager->filter( true )->add( [
223 223
 			'review.domain' => $item->getDomain(),
Please login to merge, or discard this patch.