Passed
Push — master ( 42e323...8b8d83 )
by Aimeos
03:39
created
admin/jqadm/templates/dashboard/item-order-latest-standard.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@  discard block
 block discarded – undo
5 5
  * @copyright Aimeos (aimeos.org), 2016-2022
6 6
  */
7 7
 
8
-$price = function( \Aimeos\MShop\Order\Item\Iface $item, $priceFormat )
9
-{
8
+$price = function( \Aimeos\MShop\Order\Item\Iface $item, $priceFormat ) {
10 9
 	if( $order = $item->getBaseItem() )
11 10
 	{
12 11
 		$price = 0;
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
 };
24 23
 
25 24
 
26
-$name = function( \Aimeos\MShop\Order\Item\Iface $item )
27
-{
25
+$name = function( \Aimeos\MShop\Order\Item\Iface $item ) {
28 26
 	if( $order = $item->getBaseItem() )
29 27
 	{
30 28
 		$type = \Aimeos\MShop\Order\Item\Base\Address\Base::TYPE_PAYMENT;
@@ -42,8 +40,7 @@  discard block
 block discarded – undo
42 40
 };
43 41
 
44 42
 
45
-$payment = function( \Aimeos\MShop\Order\Item\Iface $item )
46
-{
43
+$payment = function( \Aimeos\MShop\Order\Item\Iface $item ) {
47 44
 	if( $order = $item->getBaseItem() )
48 45
 	{
49 46
 		$type = \Aimeos\MShop\Order\Item\Base\Service\Base::TYPE_PAYMENT;
@@ -59,8 +56,7 @@  discard block
 block discarded – undo
59 56
 };
60 57
 
61 58
 
62
-$status = function( array $list, $key )
63
-{
59
+$status = function( array $list, $key ) {
64 60
 	return ( isset( $list[$key] ) ? $list[$key] : '' );
65 61
 };
66 62
 
Please login to merge, or discard this patch.