Passed
Push — master ( 77905c...a5364c )
by Aimeos
07:35
created
Controller/CheckoutController.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 		}
40 40
 
41 41
 		$response = $this->render( '@AimeosShop/Checkout/confirm.html.twig', $params );
42
-		$response->headers->set('Cache-Control', 'no-store');
42
+		$response->headers->set( 'Cache-Control', 'no-store' );
43 43
 		return $response;
44 44
 	}
45 45
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 		}
62 62
 
63 63
 		$response = $this->render( '@AimeosShop/Checkout/index.html.twig', $params );
64
-		$response->headers->set('Cache-Control', 'no-store');
64
+		$response->headers->set( 'Cache-Control', 'no-store' );
65 65
 		return $response;
66 66
 	}
67 67
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 		}
84 84
 
85 85
 		$response = $this->render( '@AimeosShop/Checkout/update.html.twig', $params );
86
-		$response->headers->set('Cache-Control', 'no-store');
86
+		$response->headers->set( 'Cache-Control', 'no-store' );
87 87
 		return $response;
88 88
 	}
89 89
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 		$this->container->get( 'twig' )->addGlobal( 'aiheader', (string) $client->getHeader() );
100 100
 
101 101
 		$response = new Response( (string) $client->getBody() );
102
-		$response->headers->set('Cache-Control', 'no-store');
102
+		$response->headers->set( 'Cache-Control', 'no-store' );
103 103
 		return $response;
104 104
 	}
105 105
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 		$this->container->get( 'twig' )->addGlobal( 'aiheader', (string) $client->getHeader() );
116 116
 
117 117
 		$response = new Response( (string) $client->getBody() );
118
-		$response->headers->set('Cache-Control', 'no-store');
118
+		$response->headers->set( 'Cache-Control', 'no-store' );
119 119
 		return $response;
120 120
 	}
121 121
 
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 		$this->container->get( 'twig' )->addGlobal( 'aiheader', (string) $client->getHeader() );
132 132
 
133 133
 		$response = new Response( (string) $client->getBody() );
134
-		$response->headers->set('Cache-Control', 'no-store');
134
+		$response->headers->set( 'Cache-Control', 'no-store' );
135 135
 		return $response;
136 136
 	}
137 137
 }
Please login to merge, or discard this patch.
Controller/BasketController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
 			$params['aibody'][$name] = $shop->get( $name )->getBody();
39 39
 		}
40 40
 
41
-		$response =  $this->render( '@AimeosShop/Basket/index.html.twig', $params );
42
-		$response->headers->set('Cache-Control', 'no-store');
41
+		$response = $this->render( '@AimeosShop/Basket/index.html.twig', $params );
42
+		$response->headers->set( 'Cache-Control', 'no-store' );
43 43
 		return $response;
44 44
 	}
45 45
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 		$this->container->get( 'twig' )->addGlobal( 'aiheader', (string) $client->getHeader() );
55 55
 
56 56
 		$response = new Response( (string) $client->getBody() );
57
-		$response->headers->set('Cache-Control', 'no-store');
57
+		$response->headers->set( 'Cache-Control', 'no-store' );
58 58
 		return $response;
59 59
 	}
60 60
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 		$this->container->get( 'twig' )->addGlobal( 'aiheader', (string) $client->getHeader() );
71 71
 
72 72
 		$response = new Response( (string) $client->getBody() );
73
-		$response->headers->set('Cache-Control', 'no-store');
73
+		$response->headers->set( 'Cache-Control', 'no-store' );
74 74
 		return $response;
75 75
 	}
76 76
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 		$this->container->get( 'twig' )->addGlobal( 'aiheader', (string) $client->getHeader() );
87 87
 
88 88
 		$response = new Response( (string) $client->getBody() );
89
-		$response->headers->set('Cache-Control', 'no-store');
89
+		$response->headers->set( 'Cache-Control', 'no-store' );
90 90
 		return $response;
91 91
 	}
92 92
 }
Please login to merge, or discard this patch.