Passed
Push — development ( a68c4d...46d9de )
by Eric
06:14
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; ?>
@@ -76,9 +79,12 @@  discard block
 block discarded – undo
76 79
 
77 80
 	<p class="woocommerce-mini-cart__buttons buttons"><?php do_action( 'woocommerce_widget_shopping_cart_buttons' ); ?></p>
78 81
 
79
-<?php else : ?>
82
+<?php else {
83
+	: ?>
80 84
 
81
-	<p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' ); ?></p>
85
+	<p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' );
86
+}
87
+?></p>
82 88
 
83 89
 <?php endif; ?>
84 90
 
Please login to merge, or discard this patch.