Passed
Push — master ( 714cc8...b3ace4 )
by Aimeos
01:42
created
admin/jsonadm/templates/get-standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 $first = ( $offset > 0 ? 0 : null );
136 136
 $prev = ( $offset - $limit >= 0 ? $offset - $limit : null );
137 137
 $next = ( $offset + $limit < $total ? $offset + $limit : null );
138
-$last = ( ((int) ($total / $limit)) * $limit > $offset ? ((int) ($total / $limit)) * $limit : null );
138
+$last = ( ( (int) ( $total / $limit ) ) * $limit > $offset ? ( (int) ( $total / $limit ) ) * $limit : null );
139 139
 
140 140
 
141 141
 $ref = array( 'id', 'resource', 'filter', 'page', 'sort', 'include', 'fields' );
Please login to merge, or discard this patch.