@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | -declare(strict_types = 1); |
|
| 8 | +declare(strict_types=1); |
|
| 9 | 9 | |
| 10 | 10 | namespace SprykerFeatureTest\Zed\SelfServicePortal\Business; |
| 11 | 11 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | ): SspModelCollectionResponseTransfer { |
| 55 | 55 | $sspModelCollectionResponseTransfer = new SspModelCollectionResponseTransfer(); |
| 56 | 56 | |
| 57 | - $this->getTransactionHandler()->handleTransaction(function () use ($sspModelCollectionRequestTransfer, $sspModelCollectionResponseTransfer): void { |
|
| 57 | + $this->getTransactionHandler()->handleTransaction(function() use ($sspModelCollectionRequestTransfer, $sspModelCollectionResponseTransfer): void { |
|
| 58 | 58 | foreach ($sspModelCollectionRequestTransfer->getSspModels() as $sspModelTransfer) { |
| 59 | 59 | if (!$this->sspModelValidator->validateModelTransfer($sspModelTransfer, $sspModelCollectionResponseTransfer)) { |
| 60 | 60 | continue; |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | $sspModelTransfer |
| 76 | 76 | ->setReference($this->sequenceNumberFacade->generate($this->config->getModelSequenceNumberSettings())); |
| 77 | 77 | |
| 78 | - return $this->getTransactionHandler()->handleTransaction(function () use ($sspModelTransfer) { |
|
| 78 | + return $this->getTransactionHandler()->handleTransaction(function() use ($sspModelTransfer) { |
|
| 79 | 79 | $sspModelTransfer = $this->fileSspModelWriter->createFile($sspModelTransfer); |
| 80 | 80 | |
| 81 | 81 | return $this->entityManager->createSspModel($sspModelTransfer); |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | $ids = explode(',', trim($idsString)); |
| 125 | - $ids = array_filter($ids, function ($id) { |
|
| 125 | + $ids = array_filter($ids, function($id) { |
|
| 126 | 126 | return (bool)$id && is_numeric($id); |
| 127 | 127 | }); |
| 128 | 128 | |
@@ -194,7 +194,7 @@ |
||
| 194 | 194 | |
| 195 | 195 | $this->loadData($data); |
| 196 | 196 | |
| 197 | - $dataWithoutCheckboxColumn = array_map(function ($assetRow) { |
|
| 197 | + $dataWithoutCheckboxColumn = array_map(function($assetRow) { |
|
| 198 | 198 | unset($assetRow[static::COLUMN_SELECTED]); |
| 199 | 199 | |
| 200 | 200 | return array_values($assetRow); |
@@ -165,9 +165,9 @@ |
||
| 165 | 165 | $this->loadData($data); |
| 166 | 166 | |
| 167 | 167 | $dataWithoutCheckboxColumn = array_map(function ($productListRow) { |
| 168 | - unset($productListRow[static::COLUMN_SELECTED]); |
|
| 168 | + unset($productListRow[static::COLUMN_SELECTED]); |
|
| 169 | 169 | |
| 170 | - return array_values($productListRow); |
|
| 170 | + return array_values($productListRow); |
|
| 171 | 171 | }, $data); |
| 172 | 172 | |
| 173 | 173 | return $dataWithoutCheckboxColumn; |
@@ -164,7 +164,7 @@ |
||
| 164 | 164 | |
| 165 | 165 | $this->loadData($data); |
| 166 | 166 | |
| 167 | - $dataWithoutCheckboxColumn = array_map(function ($productListRow) { |
|
| 167 | + $dataWithoutCheckboxColumn = array_map(function($productListRow) { |
|
| 168 | 168 | unset($productListRow[static::COLUMN_SELECTED]); |
| 169 | 169 | |
| 170 | 170 | return array_values($productListRow); |
@@ -201,9 +201,9 @@ |
||
| 201 | 201 | $this->loadData($data); |
| 202 | 202 | |
| 203 | 203 | $dataWithoutCheckboxColumn = array_map(function ($assetRow) { |
| 204 | - unset($assetRow[static::COLUMN_SELECTED]); |
|
| 204 | + unset($assetRow[static::COLUMN_SELECTED]); |
|
| 205 | 205 | |
| 206 | - return array_values($assetRow); |
|
| 206 | + return array_values($assetRow); |
|
| 207 | 207 | }, $data); |
| 208 | 208 | |
| 209 | 209 | return $dataWithoutCheckboxColumn; |
@@ -200,7 +200,7 @@ |
||
| 200 | 200 | |
| 201 | 201 | $this->loadData($data); |
| 202 | 202 | |
| 203 | - $dataWithoutCheckboxColumn = array_map(function ($assetRow) { |
|
| 203 | + $dataWithoutCheckboxColumn = array_map(function($assetRow) { |
|
| 204 | 204 | unset($assetRow[static::COLUMN_SELECTED]); |
| 205 | 205 | |
| 206 | 206 | return array_values($assetRow); |
@@ -152,9 +152,9 @@ |
||
| 152 | 152 | $this->loadData($data); |
| 153 | 153 | |
| 154 | 154 | $dataWithoutCheckboxColumn = array_map(function ($businessUnitRow) { |
| 155 | - unset($businessUnitRow[static::COLUMN_SELECTED]); |
|
| 155 | + unset($businessUnitRow[static::COLUMN_SELECTED]); |
|
| 156 | 156 | |
| 157 | - return array_values($businessUnitRow); |
|
| 157 | + return array_values($businessUnitRow); |
|
| 158 | 158 | }, $data); |
| 159 | 159 | |
| 160 | 160 | return $dataWithoutCheckboxColumn; |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | |
| 152 | 152 | $this->loadData($data); |
| 153 | 153 | |
| 154 | - $dataWithoutCheckboxColumn = array_map(function ($businessUnitRow) { |
|
| 154 | + $dataWithoutCheckboxColumn = array_map(function($businessUnitRow) { |
|
| 155 | 155 | unset($businessUnitRow[static::COLUMN_SELECTED]); |
| 156 | 156 | |
| 157 | 157 | return array_values($businessUnitRow); |
@@ -152,9 +152,9 @@ |
||
| 152 | 152 | $this->loadData($data); |
| 153 | 153 | |
| 154 | 154 | $dataWithoutCheckboxColumn = array_map(function ($companyRow) { |
| 155 | - unset($companyRow[static::COLUMN_SELECTED]); |
|
| 155 | + unset($companyRow[static::COLUMN_SELECTED]); |
|
| 156 | 156 | |
| 157 | - return array_values($companyRow); |
|
| 157 | + return array_values($companyRow); |
|
| 158 | 158 | }, $data); |
| 159 | 159 | |
| 160 | 160 | return $dataWithoutCheckboxColumn; |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | |
| 152 | 152 | $this->loadData($data); |
| 153 | 153 | |
| 154 | - $dataWithoutCheckboxColumn = array_map(function ($companyRow) { |
|
| 154 | + $dataWithoutCheckboxColumn = array_map(function($companyRow) { |
|
| 155 | 155 | unset($companyRow[static::COLUMN_SELECTED]); |
| 156 | 156 | |
| 157 | 157 | return array_values($companyRow); |
@@ -194,9 +194,9 @@ |
||
| 194 | 194 | $this->loadData($data); |
| 195 | 195 | |
| 196 | 196 | $dataWithoutCheckboxColumn = array_map(function ($companyUserRow) { |
| 197 | - unset($companyUserRow[static::COLUMN_SELECTED]); |
|
| 197 | + unset($companyUserRow[static::COLUMN_SELECTED]); |
|
| 198 | 198 | |
| 199 | - return array_values($companyUserRow); |
|
| 199 | + return array_values($companyUserRow); |
|
| 200 | 200 | }, $data); |
| 201 | 201 | |
| 202 | 202 | return $dataWithoutCheckboxColumn; |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | |
| 194 | 194 | $this->loadData($data); |
| 195 | 195 | |
| 196 | - $dataWithoutCheckboxColumn = array_map(function ($companyUserRow) { |
|
| 196 | + $dataWithoutCheckboxColumn = array_map(function($companyUserRow) { |
|
| 197 | 197 | unset($companyUserRow[static::COLUMN_SELECTED]); |
| 198 | 198 | |
| 199 | 199 | return array_values($companyUserRow); |