Passed
Push — development ( f25e12...0a3492 )
by Eric
03:15
created
woocommerce/cart/mini-cart.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,8 +52,11 @@  discard block
 block discarded – undo
52 52
 						?>
53 53
 						<?php if ( empty( $product_permalink ) ) : ?>
54 54
 							<?php echo $thumbnail . $product_name; ?>
55
-						<?php else : ?>
56
-							<a href="<?php echo esc_url( $product_permalink ); ?>">
55
+						<?php else {
56
+	: ?>
57
+							<a href="<?php echo esc_url( $product_permalink );
58
+}
59
+?>">
57 60
 								<?php echo $thumbnail . $product_name; ?>
58 61
 							</a>
59 62
 						<?php endif; ?>
@@ -75,9 +78,12 @@  discard block
 block discarded – undo
75 78
 
76 79
 	<p class="woocommerce-mini-cart__buttons buttons"><?php do_action( 'woocommerce_widget_shopping_cart_buttons' ); ?></p>
77 80
 
78
-<?php else : ?>
81
+<?php else {
82
+	: ?>
79 83
 
80
-	<p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' ); ?></p>
84
+	<p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' );
85
+}
86
+?></p>
81 87
 
82 88
 <?php endif; ?>
83 89
 
Please login to merge, or discard this patch.