Passed
Push — master ( 007514...61c3ce )
by Aimeos
03:42
created
src/Aimeos/Shop/Controller/CatalogController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
 		return Response::view( 'shop::catalog.detail', $params )
59 59
 			->header( 'Cache-Control', 'max-age=10' )
60
-			->header('Cache-Control', 'private');
60
+			->header( 'Cache-Control', 'private' );
61 61
 	}
62 62
 
63 63
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
 		return Response::view( 'shop::catalog.list', $params )
78 78
 			->header( 'Cache-Control', 'max-age=10' )
79
-			->header('Cache-Control', 'private');
79
+			->header( 'Cache-Control', 'private' );
80 80
 }
81 81
 
82 82
 
@@ -112,8 +112,8 @@  discard block
 block discarded – undo
112 112
 			$params['aibody'][$name] = Shop::get( $name )->getBody();
113 113
 		}
114 114
 
115
-		return Response::view('shop::catalog.suggest', $params)
116
-			->header('Content-Type', 'application/json')
115
+		return Response::view( 'shop::catalog.suggest', $params )
116
+			->header( 'Content-Type', 'application/json' )
117 117
 			->header( 'Cache-Control', 'max-age=300' );
118 118
 	}
119 119
 
@@ -133,6 +133,6 @@  discard block
 block discarded – undo
133 133
 
134 134
 		return Response::view( 'shop::catalog.tree', $params )
135 135
 			->header( 'Cache-Control', 'max-age=10' )
136
-			->header('Cache-Control', 'private');
136
+			->header( 'Cache-Control', 'private' );
137 137
 	}
138 138
 }
139 139
\ No newline at end of file
Please login to merge, or discard this patch.