Completed
Push — master ( def7d9...4bce11 )
by Aimeos
01:54
created
src/Controller/Basket.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@
 block discarded – undo
31 31
 	 * @param array $args Associative list of route parameters
32 32
 	 * @return ResponseInterface $response Modified response object with generated output
33 33
 	 */
34
-	public static function indexAction( ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args )
34
+	public static function indexAction(ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args)
35 35
 	{
36
-		$contents = $container->get( 'shop' )->get( 'basket-index', $request, $response, $args );
37
-		$response = $container->get( 'view' )->render( $response, 'Basket/index.html.twig', $contents );
36
+		$contents = $container->get('shop')->get('basket-index', $request, $response, $args);
37
+		$response = $container->get('view')->render($response, 'Basket/index.html.twig', $contents);
38 38
 
39
-		return $response->withHeader( 'Cache-Control', 'no-store' );
39
+		return $response->withHeader('Cache-Control', 'no-store');
40 40
 	}
41 41
 }
42 42
\ No newline at end of file
Please login to merge, or discard this patch.
src/Controller/Checkout.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -31,12 +31,12 @@  discard block
 block discarded – undo
31 31
 	 * @param array $args Associative list of route parameters
32 32
 	 * @return ResponseInterface $response Modified response object with generated output
33 33
 	 */
34
-	public static function confirmAction( ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args )
34
+	public static function confirmAction(ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args)
35 35
 	{
36
-		$contents = $container->get( 'shop' )->get( 'checkout-confirm', $request, $response, $args );
37
-		$response = $container->get( 'view' )->render( $response, 'Checkout/confirm.html.twig', $contents );
36
+		$contents = $container->get('shop')->get('checkout-confirm', $request, $response, $args);
37
+		$response = $container->get('view')->render($response, 'Checkout/confirm.html.twig', $contents);
38 38
 
39
-		return $response->withHeader( 'Cache-Control', 'no-store' );
39
+		return $response->withHeader('Cache-Control', 'no-store');
40 40
 	}
41 41
 
42 42
 
@@ -49,12 +49,12 @@  discard block
 block discarded – undo
49 49
 	 * @param array $args Associative list of route parameters
50 50
 	 * @return ResponseInterface $response Modified response object with generated output
51 51
 	 */
52
-	public static function indexAction( ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args )
52
+	public static function indexAction(ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args)
53 53
 	{
54
-		$contents = $container->get( 'shop' )->get( 'checkout-index', $request, $response, $args );
55
-		$response = $container->get( 'view' )->render( $response, 'Checkout/index.html.twig', $contents );
54
+		$contents = $container->get('shop')->get('checkout-index', $request, $response, $args);
55
+		$response = $container->get('view')->render($response, 'Checkout/index.html.twig', $contents);
56 56
 
57
-		return $response->withHeader( 'Cache-Control', 'no-store' );
57
+		return $response->withHeader('Cache-Control', 'no-store');
58 58
 	}
59 59
 
60 60
 
@@ -67,11 +67,11 @@  discard block
 block discarded – undo
67 67
 	 * @param array $args Associative list of route parameters
68 68
 	 * @return ResponseInterface $response Modified response object with generated output
69 69
 	 */
70
-	public static function updateAction( ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args )
70
+	public static function updateAction(ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args)
71 71
 	{
72
-		$contents = $container->get( 'shop' )->get( 'checkout-update', $request, $response, $args );
73
-		$response = $container->get( 'view' )->render( $response, 'Checkout/update.html.twig', $contents );
72
+		$contents = $container->get('shop')->get('checkout-update', $request, $response, $args);
73
+		$response = $container->get('view')->render($response, 'Checkout/update.html.twig', $contents);
74 74
 
75
-		return $response->withHeader( 'Cache-Control', 'no-store' );
75
+		return $response->withHeader('Cache-Control', 'no-store');
76 76
 	}
77 77
 }
78 78
\ No newline at end of file
Please login to merge, or discard this patch.