Passed
Push — master ( 8d09fe...def9a8 )
by
unknown
15:19
created
typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
         if (MathUtility::canBeInterpretedAsInteger($fileUid)) {
228 228
             try {
229 229
                 $file = GeneralUtility::makeInstance(ResourceFactory::class)->getFileObject($fileUid);
230
-            } catch (FileDoesNotExistException|\InvalidArgumentException $e) {
230
+            } catch (FileDoesNotExistException | \InvalidArgumentException $e) {
231 231
             }
232 232
         }
233 233
         return $file;
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
         foreach ($config['cropVariants'] as $id => $cropVariant) {
278 278
 
279 279
             // Filter allowed aspect ratios
280
-            $cropVariant['allowedAspectRatios'] = array_filter($cropVariant['allowedAspectRatios'] ?? [], static function ($aspectRatio) {
280
+            $cropVariant['allowedAspectRatios'] = array_filter($cropVariant['allowedAspectRatios'] ?? [], static function($aspectRatio) {
281 281
                 return !(bool)($aspectRatio['disabled'] ?? false);
282 282
             });
283 283
 
Please login to merge, or discard this patch.