@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $quoteValidationResponseTransfer = $this->getQuoteValidationResponseTransfer($quoteTransfer); |
| 44 | 44 | |
| 45 | 45 | //Act |
| 46 | - $errors = array_map(function ($quoteErrorTransfer) { |
|
| 46 | + $errors = array_map(function($quoteErrorTransfer) { |
|
| 47 | 47 | return $quoteErrorTransfer->getMessage(); |
| 48 | 48 | }, (array)$quoteValidationResponseTransfer->getErrors()); |
| 49 | 49 | |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | |
| 13 | 13 | interface CompanyUserReaderInterface |
| 14 | 14 | { |
| 15 | - /** |
|
| 16 | - * @param \Generated\Shared\Transfer\CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer |
|
| 17 | - * |
|
| 18 | - * @return \Generated\Shared\Transfer\CompanyUserCollectionTransfer |
|
| 19 | - */ |
|
| 15 | + /** |
|
| 16 | + * @param \Generated\Shared\Transfer\CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer |
|
| 17 | + * |
|
| 18 | + * @return \Generated\Shared\Transfer\CompanyUserCollectionTransfer |
|
| 19 | + */ |
|
| 20 | 20 | public function getCompanyUserCollection( |
| 21 | 21 | CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer |
| 22 | 22 | ): CompanyUserCollectionTransfer; |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function filter(array $userIdentifier): array |
| 33 | 33 | { |
| 34 | - return array_filter($userIdentifier, function ($key) { |
|
| 34 | + return array_filter($userIdentifier, function($key) { |
|
| 35 | 35 | return !in_array($key, $this->config->getOauthUserIdentifierFilterKeys()); |
| 36 | 36 | }, ARRAY_FILTER_USE_KEY); |
| 37 | 37 | } |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | { |
| 128 | 128 | $clientAdapterFactory = ($this->createMock(RedisAdapterFactoryInterface::class)); |
| 129 | 129 | $clientAdapterFactory->method('create') |
| 130 | - ->willReturnCallback(function () { |
|
| 130 | + ->willReturnCallback(function() { |
|
| 131 | 131 | return $this->createMock(RedisAdapterInterface::class); |
| 132 | 132 | }); |
| 133 | 133 | |
@@ -237,7 +237,7 @@ |
||
| 237 | 237 | return redis.call("DEL", KEYS[1]) |
| 238 | 238 | end |
| 239 | 239 | return 0 |
| 240 | -LUA; |
|
| 240 | +lua; |
|
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | /** |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | public function configureOptions(OptionsResolver $resolver): void |
| 36 | 36 | { |
| 37 | 37 | $resolver->setDefaults([ |
| 38 | - 'validation_groups' => function (FormInterface $form) { |
|
| 38 | + 'validation_groups' => function(FormInterface $form) { |
|
| 39 | 39 | /** @var \Generated\Shared\Transfer\LocalizedContentTransfer $localizedContentTransfer */ |
| 40 | 40 | $localizedContentTransfer = $form->getParent()->getData(); |
| 41 | 41 | if ($localizedContentTransfer->getFkLocale() === null) { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | 'label' => false, |
| 102 | 102 | ])->get(static::FIELD_ID_PRODUCT_SET)->addEventListener( |
| 103 | 103 | FormEvents::PRE_SUBMIT, |
| 104 | - function (FormEvent $event): void { |
|
| 104 | + function(FormEvent $event): void { |
|
| 105 | 105 | if (!$event->getData()) { |
| 106 | 106 | return; |
| 107 | 107 | } |
@@ -12,10 +12,10 @@ |
||
| 12 | 12 | |
| 13 | 13 | interface QuoteItemReaderInterface |
| 14 | 14 | { |
| 15 | - /** |
|
| 16 | - * @param \Generated\Shared\Transfer\CartItemRequestTransfer $cartItemRequestTransfer |
|
| 17 | - * |
|
| 18 | - * @return \Generated\Shared\Transfer\QuoteResponseTransfer |
|
| 19 | - */ |
|
| 15 | + /** |
|
| 16 | + * @param \Generated\Shared\Transfer\CartItemRequestTransfer $cartItemRequestTransfer |
|
| 17 | + * |
|
| 18 | + * @return \Generated\Shared\Transfer\QuoteResponseTransfer |
|
| 19 | + */ |
|
| 20 | 20 | public function readItem(CartItemRequestTransfer $cartItemRequestTransfer): QuoteResponseTransfer; |
| 21 | 21 | } |
@@ -115,10 +115,10 @@ |
||
| 115 | 115 | $builder->get(static::FIELD_FILE_UPLOAD) |
| 116 | 116 | ->addModelTransformer( |
| 117 | 117 | new CallbackTransformer( |
| 118 | - function ($data) { |
|
| 118 | + function($data) { |
|
| 119 | 119 | return $data; |
| 120 | 120 | }, |
| 121 | - function (?SymfonyUploadedFile $uploadedFile = null) { |
|
| 121 | + function(?SymfonyUploadedFile $uploadedFile = null) { |
|
| 122 | 122 | if ($uploadedFile === null) { |
| 123 | 123 | return $uploadedFile; |
| 124 | 124 | } |
@@ -84,8 +84,7 @@ |
||
| 84 | 84 | $this->tableClass = static::TABLE_CLASS; |
| 85 | 85 | |
| 86 | 86 | $identifierSuffix = !$this->identifierSuffix ? |
| 87 | - static::TABLE_IDENTIFIER : |
|
| 88 | - sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix); |
|
| 87 | + static::TABLE_IDENTIFIER : sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix); |
|
| 89 | 88 | $this->setTableIdentifier($identifierSuffix); |
| 90 | 89 | |
| 91 | 90 | $config->setHeader([ |