@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | // EM might define a different connection than already in use by |
56 | 56 | // Index Queue |
57 | 57 | /** @var ConnectionManager $connectionManager */ |
58 | - $connectionManager = GeneralUtility::makeInstance(ConnectionManager::class); |
|
58 | + $connectionManager = GeneralUtility::makeInstance(ConnectionManager::class); |
|
59 | 59 | |
60 | 60 | $readNode = [ |
61 | 61 | 'host' => $this->configuration['solrHost'], |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | $cleanedData = []; |
181 | 181 | |
182 | 182 | foreach ($metaDataResponse as $dataName => $dataArray) { |
183 | - if(!($dataName % 2) == 0) { |
|
183 | + if (!($dataName % 2) == 0) { |
|
184 | 184 | continue; |
185 | 185 | } |
186 | 186 | $fieldName = $dataArray; |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | { |
214 | 214 | $mapping = [ |
215 | 215 | 'application/epub+zip' => ['epub'], |
216 | - 'application/gzip' => ['gz','tgz'], |
|
216 | + 'application/gzip' => ['gz', 'tgz'], |
|
217 | 217 | 'application/msword' => ['doc'], |
218 | 218 | 'application/pdf' => ['pdf'], |
219 | 219 | 'application/rtf' => ['rtf'], |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | 'application/zip' => ['zip'], |
229 | 229 | 'application/x-midi' => ['mid'], |
230 | 230 | 'application/xml' => ['xml'], |
231 | - 'audio/aiff' => ['aif','aiff'], |
|
231 | + 'audio/aiff' => ['aif', 'aiff'], |
|
232 | 232 | 'audio/basic' => ['au'], |
233 | 233 | 'audio/midi' => ['mid'], |
234 | 234 | 'audio/mpeg3' => ['mp3'], |
@@ -238,11 +238,11 @@ discard block |
||
238 | 238 | 'audio/x-wav' => ['wav'], |
239 | 239 | 'image/bmp' => ['bmp'], |
240 | 240 | 'image/gif' => ['gif'], |
241 | - 'image/jpeg' => ['jpg','jpeg'], |
|
241 | + 'image/jpeg' => ['jpg', 'jpeg'], |
|
242 | 242 | 'image/png' => ['png'], |
243 | 243 | 'image/svg+xml' => ['svg'], |
244 | - 'image/tiff' => ['tif','tiff'], |
|
245 | - 'text/html' => ['html','htm'], |
|
244 | + 'image/tiff' => ['tif', 'tiff'], |
|
245 | + 'text/html' => ['html', 'htm'], |
|
246 | 246 | 'text/plain' => ['txt'], |
247 | 247 | 'text/xml' => ['xml'], |
248 | 248 | 'video/mpeg' => ['mp3'], |