Passed
Push — master ( e77062...e9fe6e )
by Aimeos
05:13
created
src/Aimeos/Shop/Facades/Locale.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Locale extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new locale frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Locale\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'locale' );
27
-    }
19
+	/**
20
+	 * Returns a new locale frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Locale\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'locale' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Subscription.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Subscription extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new subscription frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Subscription\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'subscription' );
27
-    }
19
+	/**
20
+	 * Returns a new subscription frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Subscription\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'subscription' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Catalog.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Catalog extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new catalog frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Catalog\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'catalog' );
27
-    }
19
+	/**
20
+	 * Returns a new catalog frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Catalog\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'catalog' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Customer.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Customer extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new customer frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Customer\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'customer' );
27
-    }
19
+	/**
20
+	 * Returns a new customer frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Customer\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'customer' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Basket.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Basket extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new basket frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Basket\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'basket' );
27
-    }
19
+	/**
20
+	 * Returns a new basket frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Basket\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'basket' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Product.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Product extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new product frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Product\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'product' );
27
-    }
19
+	/**
20
+	 * Returns a new product frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Product\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'product' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Service.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Service extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new service frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Service\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'service' );
27
-    }
19
+	/**
20
+	 * Returns a new service frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Service\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'service' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Attribute.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
  */
17 17
 class Attribute extends \Illuminate\Support\Facades\Facade
18 18
 {
19
-    /**
20
-     * Returns a new attribute frontend controller object
21
-     *
22
-     * @return \Aimeos\Controller\Frontend\Attribute\Iface
23
-     */
24
-    protected static function getFacadeAccessor()
25
-    {
26
-        return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'attribute' );
27
-    }
19
+	/**
20
+	 * Returns a new attribute frontend controller object
21
+	 *
22
+	 * @return \Aimeos\Controller\Frontend\Attribute\Iface
23
+	 */
24
+	protected static function getFacadeAccessor()
25
+	{
26
+		return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'attribute' );
27
+	}
28 28
 }
Please login to merge, or discard this patch.
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.