@@ -130,7 +130,7 @@ |
||
| 130 | 130 | } |
| 131 | 131 | $this->commit(); |
| 132 | 132 | |
| 133 | - array_walk_recursive($priceProductConcreteStorageMap, function (SpyPriceProductConcreteStorage $priceProductConcreteStorageEntity) { |
|
| 133 | + array_walk_recursive($priceProductConcreteStorageMap, function(SpyPriceProductConcreteStorage $priceProductConcreteStorageEntity) { |
|
| 134 | 134 | $priceProductConcreteStorageEntity->delete(); |
| 135 | 135 | }); |
| 136 | 136 | } |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | $idCurrency = $this->getCurrencyFacade()->createCurrency($currencyTransfer); |
| 34 | 34 | |
| 35 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($idCurrency): void { |
|
| 35 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($idCurrency): void { |
|
| 36 | 36 | $spyCurrencyEntity = SpyCurrencyQuery::create()->findOneByIdCurrency($idCurrency); |
| 37 | 37 | if ($spyCurrencyEntity) { |
| 38 | 38 | $spyCurrencyEntity->delete(); |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | |
| 70 | 70 | $currencyStoreEntity->save(); |
| 71 | 71 | |
| 72 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($currencyStoreEntity): void { |
|
| 72 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($currencyStoreEntity): void { |
|
| 73 | 73 | $spyCurrencyStoreEntity = $this->createCurrencyStorePropelQuery()->findOneByIdCurrencyStore($currencyStoreEntity->getIdCurrencyStore()); |
| 74 | 74 | if ($spyCurrencyStoreEntity) { |
| 75 | 75 | $spyCurrencyStoreEntity->delete(); |
@@ -283,7 +283,7 @@ discard block |
||
| 283 | 283 | */ |
| 284 | 284 | protected function executePreInsert(array $entities, ConnectionInterface $connection): array |
| 285 | 285 | { |
| 286 | - array_filter($entities, function (ActiveRecordInterface $entity) use ($connection) { |
|
| 286 | + array_filter($entities, function(ActiveRecordInterface $entity) use ($connection) { |
|
| 287 | 287 | return $entity->preInsert($connection); |
| 288 | 288 | }); |
| 289 | 289 | |
@@ -298,7 +298,7 @@ discard block |
||
| 298 | 298 | */ |
| 299 | 299 | protected function executePreDelete(array $entities, ConnectionInterface $connection): array |
| 300 | 300 | { |
| 301 | - array_filter($entities, function (ActiveRecordInterface $entity) use ($connection) { |
|
| 301 | + array_filter($entities, function(ActiveRecordInterface $entity) use ($connection) { |
|
| 302 | 302 | return $entity->preDelete($connection); |
| 303 | 303 | }); |
| 304 | 304 | |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | */ |
| 340 | 340 | protected function executePreUpdate(array $entities, ConnectionInterface $connection): array |
| 341 | 341 | { |
| 342 | - array_filter($entities, function (ActiveRecordInterface $entity) use ($connection) { |
|
| 342 | + array_filter($entities, function(ActiveRecordInterface $entity) use ($connection) { |
|
| 343 | 343 | return $entity->preUpdate($connection); |
| 344 | 344 | }); |
| 345 | 345 | |
@@ -501,7 +501,7 @@ discard block |
||
| 501 | 501 | $this->requiresPrimaryKeyValue(), |
| 502 | 502 | ); |
| 503 | 503 | |
| 504 | - $columnNamesForInsertWithPdoPlaceholder = array_map(function (array $columnDetails) use (&$keyIndex, $tableMapClass) { |
|
| 504 | + $columnNamesForInsertWithPdoPlaceholder = array_map(function(array $columnDetails) use (&$keyIndex, $tableMapClass) { |
|
| 505 | 505 | if ($columnDetails['columnMap']->isPrimaryKey() && $tableMapClass->getPrimaryKeyMethodInfo() !== null) { |
| 506 | 506 | return sprintf('(SELECT nextval(\'%s\'))', $tableMapClass->getPrimaryKeyMethodInfo()); |
| 507 | 507 | } |
@@ -603,7 +603,7 @@ discard block |
||
| 603 | 603 | $this->requiresPrimaryKeyValue(), |
| 604 | 604 | ); |
| 605 | 605 | |
| 606 | - $columnNamesForInsertWithPdoPlaceholder = array_map(function (array $columnDetails) use (&$keyIndex, $tableMapClass) { |
|
| 606 | + $columnNamesForInsertWithPdoPlaceholder = array_map(function(array $columnDetails) use (&$keyIndex, $tableMapClass) { |
|
| 607 | 607 | if ($columnDetails['columnMap']->isPrimaryKey() && $tableMapClass->getPrimaryKeyMethodInfo() !== null) { |
| 608 | 608 | return sprintf('(SELECT nextval(\'%s\'))', $tableMapClass->getPrimaryKeyMethodInfo()); |
| 609 | 609 | } |
@@ -699,7 +699,7 @@ discard block |
||
| 699 | 699 | */ |
| 700 | 700 | protected function bindInsertValues(StatementInterface $statement, array $values): StatementInterface |
| 701 | 701 | { |
| 702 | - $values = array_filter($values, function (array $columnDetails) { |
|
| 702 | + $values = array_filter($values, function(array $columnDetails) { |
|
| 703 | 703 | /** @var \Propel\Runtime\Map\ColumnMap $columnMap */ |
| 704 | 704 | $columnMap = $columnDetails['columnMap']; |
| 705 | 705 | |
@@ -841,7 +841,7 @@ discard block |
||
| 841 | 841 | $entity, |
| 842 | 842 | ); |
| 843 | 843 | |
| 844 | - $columnNamesForUpdateWithPdoPlaceholder = array_map(function ($columnName) use (&$keyIndex, $tableMapClass) { |
|
| 844 | + $columnNamesForUpdateWithPdoPlaceholder = array_map(function($columnName) use (&$keyIndex, $tableMapClass) { |
|
| 845 | 845 | return sprintf('%s=:p%d', $this->quote($columnName, $tableMapClass), $keyIndex++); |
| 846 | 846 | }, array_keys($valuesForUpdate)); |
| 847 | 847 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | $priceProductTransfer->getIdPriceProduct(), |
| 81 | 81 | )); |
| 82 | 82 | |
| 83 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($priceProductTransfer): void { |
|
| 83 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($priceProductTransfer): void { |
|
| 84 | 84 | $this->cleanupPriceProductStore($priceProductTransfer->getIdPriceProduct()); |
| 85 | 85 | $this->cleanupPriceProduct($priceProductTransfer->getIdPriceProduct()); |
| 86 | 86 | }); |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | (new ProductAbstractTransfer())->setIdProductAbstract($idProductAbstract)->addPrice($priceProductTransfer), |
| 108 | 108 | ); |
| 109 | 109 | |
| 110 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($priceProductTransfer): void { |
|
| 110 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($priceProductTransfer): void { |
|
| 111 | 111 | $this->cleanupPriceProduct($priceProductTransfer->getIdPriceProduct()); |
| 112 | 112 | }); |
| 113 | 113 | |