Completed
Push — master ( 8ff506...b4fd6e )
by Aimeos
02:18
created
client/jsonapi/src/Client/JsonApi/Product/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
296 296
 	{
297 297
 		$total = 0;
298 298
 		$map = array();
299
-		$direction  = '+';
299
+		$direction = '+';
300 300
 
301 301
 		$ref = $view->param( 'include', array() );
302 302
 		$size = $view->param( 'page/limit', 48 );
Please login to merge, or discard this patch.
client/jsonapi/templates/stock/get-default.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 $first = ( $offset > 0 ? 0 : null );
34 34
 $prev = ( $offset - $limit >= 0 ? $offset - $limit : null );
35 35
 $next = ( $offset + $limit < $total ? $offset + $limit : null );
36
-$last = ( ((int) ($total / $limit)) * $limit > $offset ? ((int) ($total / $limit)) * $limit : null );
36
+$last = ( ( (int) ( $total / $limit ) ) * $limit > $offset ? ( (int) ( $total / $limit ) ) * $limit : null );
37 37
 
38 38
 
39 39
 $fields = $this->param( 'fields', array() );
Please login to merge, or discard this patch.
client/jsonapi/templates/product/get-default.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 $first = ( $offset > 0 ? 0 : null );
99 99
 $prev = ( $offset - $limit >= 0 ? $offset - $limit : null );
100 100
 $next = ( $offset + $limit < $total ? $offset + $limit : null );
101
-$last = ( ((int) ($total / $limit)) * $limit > $offset ? ((int) ($total / $limit)) * $limit : null );
101
+$last = ( ( (int) ( $total / $limit ) ) * $limit > $offset ? ( (int) ( $total / $limit ) ) * $limit : null );
102 102
 
103 103
 
104 104
 $map = $this->get( 'itemMap', array() );
Please login to merge, or discard this patch.
client/jsonapi/templates/attribute/get-default.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 $first = ( $offset > 0 ? 0 : null );
34 34
 $prev = ( $offset - $limit >= 0 ? $offset - $limit : null );
35 35
 $next = ( $offset + $limit < $total ? $offset + $limit : null );
36
-$last = ( ((int) ($total / $limit)) * $limit > $offset ? ((int) ($total / $limit)) * $limit : null );
36
+$last = ( ( (int) ( $total / $limit ) ) * $limit > $offset ? ( (int) ( $total / $limit ) ) * $limit : null );
37 37
 
38 38
 
39 39
 $fields = $this->param( 'fields', array() );
Please login to merge, or discard this patch.
client/jsonapi/tests/Client/JsonApi/Basket/StandardTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
 		$baseManager = \Aimeos\MShop\Factory::createManager( $this->context, 'order/base' );
269 269
 
270 270
 		$search = $baseManager->createSearch();
271
-		$search->setConditions( $search->compare( '==', 'order.base.price', '672.00') );
271
+		$search->setConditions( $search->compare( '==', 'order.base.price', '672.00' ) );
272 272
 
273 273
 		$items = $baseManager->searchItems( $search );
274 274
 
Please login to merge, or discard this patch.