@@ -84,7 +84,7 @@ |
||
84 | 84 | $tenantCode = $tenant->getCode(); |
85 | 85 | $themes = array_filter( |
86 | 86 | $this->get('sylius.repository.theme')->findAll(), |
87 | - static function ($element) use (&$tenantCode) { |
|
87 | + static function($element) use (&$tenantCode) { |
|
88 | 88 | if (strpos($element->getName(), ThemeHelper::SUFFIX_SEPARATOR.$tenantCode)) { |
89 | 89 | return true; |
90 | 90 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | $items = $package->getItems()->filter( |
46 | - static function ($entry) use ($guids) { |
|
46 | + static function($entry) use ($guids) { |
|
47 | 47 | return !in_array($entry->getGuid(), $guids, true); |
48 | 48 | } |
49 | 49 | ); |
@@ -64,10 +64,10 @@ |
||
64 | 64 | |
65 | 65 | $builder->get('filters') |
66 | 66 | ->addModelTransformer(new CallbackTransformer( |
67 | - static function ($value) { |
|
67 | + static function($value) { |
|
68 | 68 | return json_encode($value); |
69 | 69 | }, |
70 | - static function ($value) { |
|
70 | + static function($value) { |
|
71 | 71 | if (is_array($value)) { |
72 | 72 | return $value; |
73 | 73 | } |
@@ -37,7 +37,7 @@ |
||
37 | 37 | foreach ($this->paths as $path) { |
38 | 38 | $files = $this->filesystem->listContents($path, true); |
39 | 39 | try { |
40 | - $filteredFiles = \array_filter($files, static function ($value) use ($name) { |
|
40 | + $filteredFiles = \array_filter($files, static function($value) use ($name) { |
|
41 | 41 | return 'file' === $value['type'] && $value['filename'].'.'.$value['extension'] === $name; |
42 | 42 | }); |
43 | 43 |