Passed
Push — master ( 1c30c5...f94180 )
by
unknown
41:35 queued 10:52
created
Zed/SelfServicePortal/Communication/CompanyFile/FormDataNormalizer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             if (is_array($value)) {
94 94
                 $flattened = [];
95 95
                 $this->flattenArray($value, $flattened);
96
-                $data[$key] = array_filter($flattened, function ($item) {
96
+                $data[$key] = array_filter($flattened, function($item) {
97 97
                     return is_scalar($item) && (bool)$item;
98 98
                 });
99 99
             }
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             if (is_array($value)) {
122 122
                 $flattened = [];
123 123
                 $this->flattenArray($value, $flattened);
124
-                $normalizedData[$key] = array_values(array_filter($flattened, function ($item) {
124
+                $normalizedData[$key] = array_values(array_filter($flattened, function($item) {
125 125
                     return is_scalar($item) && (bool)$item;
126 126
                 }));
127 127
             } else {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
         $flattened = [];
168 168
         $this->flattenArray($value, $flattened);
169 169
 
170
-        return array_map('intval', array_filter($flattened, function ($item) {
170
+        return array_map('intval', array_filter($flattened, function($item) {
171 171
             return is_numeric($item) && $item > 0;
172 172
         }));
173 173
     }
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $result = [];
183 183
         $this->flattenArray($data, $result);
184 184
 
185
-        $result = array_filter($result, function ($item) {
185
+        $result = array_filter($result, function($item) {
186 186
             return is_scalar($item) && (bool)$item;
187 187
         });
188 188
 
Please login to merge, or discard this patch.
Zed/SelfServicePortal/Communication/Controller/AttachFileController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      *
65 65
      * @return \Symfony\Component\HttpFoundation\RedirectResponse|array<string, mixed>
66 66
      */
67
-    public function indexAction(Request $request): array|RedirectResponse
67
+    public function indexAction(Request $request): array | RedirectResponse
68 68
     {
69 69
         $idFile = $this->castId($request->get(static::REQUEST_PARAM_ID_FILE));
70 70
         $fileAttachmentTransfer = $this->getFileAttachmentTransfer($idFile);
Please login to merge, or discard this patch.
Communication/Controller/DownloadFileAttachmentController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 
88 88
     protected function createCsvDownloadResponse(string $content, string $filename): StreamedResponse
89 89
     {
90
-        $response = new StreamedResponse(function () use ($content): void {
90
+        $response = new StreamedResponse(function() use ($content): void {
91 91
             echo $content;
92 92
         });
93 93
         $response->headers->set('Content-Type', static::HEADER_CONTENT_TYPE_CSV);
Please login to merge, or discard this patch.