Completed
Push — master ( b5d8bc...1faee5 )
by Tim
15:17
created
Classes/Hooks/GetData.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,14 +53,14 @@
 block discarded – undo
53 53
                 case 'yp':
54 54
                     $metaData = $originalFile->_getMetaData();
55 55
 
56
-                    return (float) $metaData['focus_point_' . \mb_substr($parts[1], 0, 1)];
56
+                    return (float)$metaData['focus_point_' . \mb_substr($parts[1], 0, 1)];
57 57
                 case 'xp_positive':
58 58
                 case 'yp_positive':
59 59
                     $metaData = $originalFile->_getMetaData();
60 60
                     if ('xp_positive' === $parts[1]) {
61
-                        return (int) (\abs($metaData['focus_point_' . \mb_substr($parts[1], 0, 1)] + 100) / 2);
61
+                        return (int)(\abs($metaData['focus_point_' . \mb_substr($parts[1], 0, 1)] + 100) / 2);
62 62
                     }
63
-                    return (int) (\abs($metaData['focus_point_' . \mb_substr($parts[1], 0, 1)] - 100) / 2);
63
+                    return (int)(\abs($metaData['focus_point_' . \mb_substr($parts[1], 0, 1)] - 100) / 2);
64 64
                 case 'w':
65 65
                 case 'h':
66 66
                     $fileName = GeneralUtility::getFileAbsFileName($fileObject->getPublicUrl(true));
Please login to merge, or discard this patch.
Classes/Xclass/LocalCropScaleMaskHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,11 +115,11 @@
 block discarded – undo
115 115
         if ('tt_content' !== $parts[0]) {
116 116
             throw new \Exception('Invalid part 0. part 0 have to be tt_content', 127383);
117 117
         }
118
-        $record = BackendUtility::getRecord($parts[0], (int) $parts[1]);
118
+        $record = BackendUtility::getRecord($parts[0], (int)$parts[1]);
119 119
         if (!isset($record['image_ratio'])) {
120 120
             throw new \Exception('No image_ratio found in the current record', 324672);
121 121
         }
122 122
 
123
-        return \trim((string) $record['image_ratio']);
123
+        return \trim((string)$record['image_ratio']);
124 124
     }
125 125
 }
Please login to merge, or discard this patch.