Passed
Pull Request — master (#5)
by Dominique
38:29
created
Spryker/Zed/ProductOption/Business/OptionGroup/ProductOptionItemSorter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     protected function sortItemsBySku(array $items)
52 52
     {
53
-        usort($items, function (ItemTransfer $item1, ItemTransfer $item2) {
53
+        usort($items, function(ItemTransfer $item1, ItemTransfer $item2) {
54 54
             if ($item1->getSku() !== $item2->getSku()) {
55 55
                 return $item1->getSku() > $item2->getSku();
56 56
             }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductOption/Business/ProductOptionFacade.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
     public function saveProductOptionGroup(ProductOptionGroupTransfer $productOptionGroupTransfer)
40 40
     {
41 41
         return $this->getFactory()
42
-           ->createProductOptionGroupSaver()
43
-           ->saveProductOptionGroup($productOptionGroupTransfer);
42
+            ->createProductOptionGroupSaver()
43
+            ->saveProductOptionGroup($productOptionGroupTransfer);
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductOption/Communication/Form/ProductOptionGroupForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
             'prototype' => true,
151 151
             'constraints' => [
152 152
                 new Callback([
153
-                    'callback' => function (ArrayObject $values, ExecutionContextInterface $context) {
153
+                    'callback' => function(ArrayObject $values, ExecutionContextInterface $context) {
154 154
                         if (count($values) === 0) {
155 155
                             $context->buildViolation('No option values added.')
156 156
                                 ->addViolation();
Please login to merge, or discard this patch.
Zed/ProductOption/Communication/Form/ProductOptionTranslationForm.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
             'required' => true,
59 59
             'constraints' => [
60 60
                 new NotBlank(),
61
-             ],
61
+                ],
62 62
         ]);
63 63
 
64 64
         return $this;
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductOption/Communication/Table/ProductOptionTable.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -161,13 +161,13 @@
 block discarded – undo
161 161
     {
162 162
         if ($this->tableContext === self::TABLE_CONTEXT_EDIT) {
163 163
             return [
164
-               self::COL_CHECKBOX => 'Selected',
164
+                self::COL_CHECKBOX => 'Selected',
165 165
             ];
166 166
         }
167 167
 
168
-         return [
169
-             self::COL_ACTIONS => 'Actions',
170
-         ];
168
+            return [
169
+                self::COL_ACTIONS => 'Actions',
170
+            ];
171 171
     }
172 172
 
173 173
     /**
Please login to merge, or discard this patch.
src/Spryker/Zed/Customer/Business/Anonymizer/CustomerAnonymizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         $customerTransfer->requireIdCustomer();
71 71
         $customerTransfer = $this->getCustomer($customerTransfer);
72 72
 
73
-        $this->handleDatabaseTransaction(function () use ($customerTransfer) {
73
+        $this->handleDatabaseTransaction(function() use ($customerTransfer) {
74 74
             $this->processTransaction($customerTransfer);
75 75
         });
76 76
     }
Please login to merge, or discard this patch.
Spryker/Zed/Auth/Communication/Plugin/Bootstrap/AuthBootstrapProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $config = $this->getFactory()->getConfig();
40 40
         $authFacade = $this->getFacade();
41 41
 
42
-        $app->before(function (Request $request) use ($app, $authFacade, $config) {
42
+        $app->before(function(Request $request) use ($app, $authFacade, $config) {
43 43
             $bundle = $request->attributes->get('module');
44 44
             $controller = $request->attributes->get('controller');
45 45
             $action = $request->attributes->get('action');
Please login to merge, or discard this patch.
CmsContentWidgetProductConnector/Plugin/CmsProductContentWidgetPlugin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
      */
156 156
     protected function mapProductStorageTransfer(array $productData)
157 157
     {
158
-       //implement, this method is overwritten and provided in demoshop
158
+        //implement, this method is overwritten and provided in demoshop
159 159
         return (new StorageProductTransfer())->fromArray($productData, true);
160 160
     }
161 161
 
Please login to merge, or discard this patch.
Zed/CmsBlockCategoryConnector/Business/Model/CmsBlockCategoryWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function updateCmsBlock(CmsBlockTransfer $cmsBlockTransfer)
61 61
     {
62
-        $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer) {
62
+        $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer) {
63 63
             $this->updateCmsBlockCategoryRelationsTransaction($cmsBlockTransfer);
64 64
         });
65 65
     }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function updateCategory(CategoryTransfer $categoryTransfer)
73 73
     {
74
-        $this->handleDatabaseTransaction(function () use ($categoryTransfer) {
74
+        $this->handleDatabaseTransaction(function() use ($categoryTransfer) {
75 75
             $this->updateCategoryCmsBlockRelationsTransaction($categoryTransfer);
76 76
         });
77 77
     }
Please login to merge, or discard this patch.