Passed
Pull Request — master (#5)
by Dominique
38:29
created
Zed/ProductDiscontinuedGui/Communication/Form/DiscontinueProductForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,10 +57,10 @@
 block discarded – undo
57 57
     protected function createArrayObjectModelTransformer(): CallbackTransformer
58 58
     {
59 59
         return new CallbackTransformer(
60
-            function ($value) {
60
+            function($value) {
61 61
                 return (array)$value;
62 62
             },
63
-            function ($value) {
63
+            function($value) {
64 64
                 return new ArrayObject($value);
65 65
             }
66 66
         );
Please login to merge, or discard this patch.
SprykerTest/Glue/GlueApplication/Rest/Response/ResponseFormatterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
     protected function prepareEncoderMocks(): EncoderMatcherInterface
146 146
     {
147 147
         $encoderMock = $this->createEncoderMock();
148
-        $encoderMock->method('encode')->willReturnCallback(function (array $data) {
148
+        $encoderMock->method('encode')->willReturnCallback(function(array $data) {
149 149
             return json_encode($data);
150 150
         });
151 151
 
Please login to merge, or discard this patch.
SprykerTest/Glue/GlueApplication/Rest/Response/ResponseHeadersTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
         $formatResponseHeaderPlugin->method('format')
42 42
             ->willReturnCallback(
43
-                function (
43
+                function(
44 44
                     Response $httpResponse,
45 45
                     RestResponseInterface $restResponse,
46 46
                     RestRequestInterface $restRequest
Please login to merge, or discard this patch.
Spryker/Glue/GlueApplication/Plugin/Rest/GlueControllerListenerPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         [$controller, $action] = $currentController;
31 31
 
32 32
         $request = $event->getRequest();
33
-        $apiController = function () use ($controller, $action, $request) {
33
+        $apiController = function() use ($controller, $action, $request) {
34 34
             return $this->filter($controller, $action, $request);
35 35
         };
36 36
 
Please login to merge, or discard this patch.
Plugin/Rest/ServiceProvider/GlueApplicationServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     protected function setControllerResolver()
61 61
     {
62
-        $this->application['resolver'] = $this->application->share(function () {
62
+        $this->application['resolver'] = $this->application->share(function() {
63 63
             return new GlueFragmentControllerResolver($this->application);
64 64
         });
65 65
     }
Please login to merge, or discard this patch.
src/Spryker/Glue/GlueApplication/Rest/Request/Data/RestRequestInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
      */
19 19
     public function findParentResourceByType(string $type): ?RestResourceInterface;
20 20
 
21
-     /**
22
-      * @return \Spryker\Glue\GlueApplication\Rest\JsonApi\RestResourceInterface
23
-      */
21
+        /**
22
+         * @return \Spryker\Glue\GlueApplication\Rest\JsonApi\RestResourceInterface
23
+         */
24 24
     public function getResource(): RestResourceInterface;
25 25
 
26 26
     /**
Please login to merge, or discard this patch.
Zed/ProductAlternativeGui/Communication/Form/AddProductAlternativeForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      */
63 63
     protected function getProductAlternativeSearchPreSubmitCallback(): callable
64 64
     {
65
-        return function (FormEvent $e) {
65
+        return function(FormEvent $e) {
66 66
             $data = $e->getData();
67 67
             $form = $e->getForm();
68 68
             if (empty($data[static::FIELD_PRODUCT_ALTERNATIVE])) {
Please login to merge, or discard this patch.
Zed/ProductAlternativeGui/Communication/Controller/SuggestController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@
 block discarded – undo
40 40
             ->suggestProductConcrete($suggestion);
41 41
 
42 42
         return $this->jsonResponse([
43
-           static::KEY_RESULTS => array_merge(
44
-               $this->prepareData($productAbstractSuggestions),
45
-               $this->prepareData($productConcreteSuggestions)
46
-           ),
43
+            static::KEY_RESULTS => array_merge(
44
+                $this->prepareData($productAbstractSuggestions),
45
+                $this->prepareData($productConcreteSuggestions)
46
+            ),
47 47
         ]);
48 48
     }
49 49
 
Please login to merge, or discard this patch.
Zed/PriceProduct/Business/Model/Product/PriceProductDefaultWriter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             ->setIdPriceProductDefault($idPriceProductDefault)
68 68
             ->setFkPriceProductStore($moneyValueTransfer->getIdEntity());
69 69
 
70
-         return $this->priceProductEntityManager
71
-             ->savePriceProductDefaultEntity($priceProductDefaultEntity);
70
+            return $this->priceProductEntityManager
71
+                ->savePriceProductDefaultEntity($priceProductDefaultEntity);
72 72
     }
73 73
 }
Please login to merge, or discard this patch.