@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * |
84 | 84 | * @return \Symfony\Component\HttpFoundation\RedirectResponse|array<string, mixed> |
85 | 85 | */ |
86 | - public function indexAction(Request $request): array|RedirectResponse |
|
86 | + public function indexAction(Request $request): array | RedirectResponse |
|
87 | 87 | { |
88 | 88 | $idSspModel = $this->castId($request->get(static::REQUEST_PARAM_ID_SSP_MODEL)); |
89 | 89 | $sspModelTransfer = $this->getSspModelTransfer($idSspModel); |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | |
227 | 227 | protected function createCsvDownloadResponse(string $content, string $filename): StreamedResponse |
228 | 228 | { |
229 | - $response = new StreamedResponse(function () use ($content): void { |
|
229 | + $response = new StreamedResponse(function() use ($content): void { |
|
230 | 230 | echo $content; |
231 | 231 | }); |
232 | 232 | $response->headers->set('Content-Type', 'text/csv'); |
@@ -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); |
@@ -190,9 +190,9 @@ |
||
190 | 190 | $this->loadData($data); |
191 | 191 | |
192 | 192 | $dataWithoutCheckboxColumn = array_map(function ($modelRow) { |
193 | - unset($modelRow[static::COLUMN_SELECTED]); |
|
193 | + unset($modelRow[static::COLUMN_SELECTED]); |
|
194 | 194 | |
195 | - return array_values($modelRow); |
|
195 | + return array_values($modelRow); |
|
196 | 196 | }, $data); |
197 | 197 | |
198 | 198 | return $dataWithoutCheckboxColumn; |
@@ -189,7 +189,7 @@ |
||
189 | 189 | |
190 | 190 | $this->loadData($data); |
191 | 191 | |
192 | - $dataWithoutCheckboxColumn = array_map(function ($modelRow) { |
|
192 | + $dataWithoutCheckboxColumn = array_map(function($modelRow) { |
|
193 | 193 | unset($modelRow[static::COLUMN_SELECTED]); |
194 | 194 | |
195 | 195 | return array_values($modelRow); |