@@ -76,7 +76,7 @@ |
||
76 | 76 | |
77 | 77 | $response = $this->getFacade()->drawProcess($stateMachineProcessTransfer, $highlightState, $format, $fontSize); |
78 | 78 | |
79 | - $callback = function () use ($response) { |
|
79 | + $callback = function() use ($response) { |
|
80 | 80 | echo $response; |
81 | 81 | }; |
82 | 82 |
@@ -200,7 +200,6 @@ |
||
200 | 200 | * @param string $stateMachineName |
201 | 201 | * @param string[] $states |
202 | 202 | * @param \Spryker\Zed\StateMachine\Business\Process\ProcessInterface $process |
203 | - |
|
204 | 203 | * @return \Generated\Shared\Transfer\StateMachineItemTransfer[] |
205 | 204 | */ |
206 | 205 | protected function getItemsByStatesAndProcessName( |
@@ -61,7 +61,7 @@ |
||
61 | 61 | */ |
62 | 62 | protected function getExistingSourceDirectories() |
63 | 63 | { |
64 | - return array_filter($this->sourceDirectories, function ($directory) { |
|
64 | + return array_filter($this->sourceDirectories, function($directory) { |
|
65 | 65 | return (bool)glob($directory, GLOB_ONLYDIR); |
66 | 66 | }); |
67 | 67 | } |
@@ -24,8 +24,8 @@ |
||
24 | 24 | */ |
25 | 25 | public function read(ProductAbstractTransfer $productAbstractTransfer) |
26 | 26 | { |
27 | - return $this->getFacade() |
|
28 | - ->mapTaxSet($productAbstractTransfer); |
|
27 | + return $this->getFacade() |
|
28 | + ->mapTaxSet($productAbstractTransfer); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | } |
@@ -272,7 +272,7 @@ |
||
272 | 272 | { |
273 | 273 | $credentials = $this->config->getCredentials(); |
274 | 274 | |
275 | - $credential = array_filter($credentials, function ($username) use ($userTransfer) { |
|
275 | + $credential = array_filter($credentials, function($username) use ($userTransfer) { |
|
276 | 276 | return $username === $userTransfer->getUsername(); |
277 | 277 | }, ARRAY_FILTER_USE_KEY); |
278 | 278 |
@@ -343,14 +343,14 @@ |
||
343 | 343 | return $xml; |
344 | 344 | } |
345 | 345 | |
346 | - /** |
|
347 | - * Render partial for job description with publisher settings |
|
348 | - * it returns not empty XML entity if job has email notifications set. |
|
349 | - * |
|
350 | - * @param array $job |
|
351 | - * |
|
352 | - * @return string |
|
353 | - */ |
|
346 | + /** |
|
347 | + * Render partial for job description with publisher settings |
|
348 | + * it returns not empty XML entity if job has email notifications set. |
|
349 | + * |
|
350 | + * @param array $job |
|
351 | + * |
|
352 | + * @return string |
|
353 | + */ |
|
354 | 354 | protected function getPublisherString(array $job) |
355 | 355 | { |
356 | 356 | if (empty($job['notifications']) || !is_array($job['notifications'])) { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | */ |
43 | 43 | protected function fillNullValues($hasQueryParameter, array $mca) |
44 | 44 | { |
45 | - $mapCallback = function ($value) use ($hasQueryParameter) { |
|
45 | + $mapCallback = function($value) use ($hasQueryParameter) { |
|
46 | 46 | return ($value) ?: (($hasQueryParameter) ? 'index' : null); |
47 | 47 | }; |
48 | 48 | |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | protected function removeNullValues(array $mca) |
59 | 59 | { |
60 | - $filterCallback = function ($value) { |
|
60 | + $filterCallback = function($value) { |
|
61 | 61 | return $value !== null; |
62 | 62 | }; |
63 | 63 |
@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | public function getCallable() |
35 | 35 | { |
36 | - return Middleware::mapRequest(function (RequestInterface $request) { |
|
36 | + return Middleware::mapRequest(function(RequestInterface $request) { |
|
37 | 37 | if ($request->hasHeader(AbstractHttpClient::HEADER_HOST_YVES)) { |
38 | 38 | $this->getLogger()->info(sprintf( |
39 | 39 | 'Transfer request [%s] %s', |
@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | public function getCallable() |
35 | 35 | { |
36 | - return Middleware::mapResponse(function (ResponseInterface $response) { |
|
36 | + return Middleware::mapResponse(function(ResponseInterface $response) { |
|
37 | 37 | if ($response->hasHeader(AbstractHttpClient::HEADER_HOST_ZED)) { |
38 | 38 | $message = sprintf( |
39 | 39 | 'Transfer response [%s]', |