aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/Bitmap.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Preview/Bitmap.php')
-rw-r--r--lib/private/Preview/Bitmap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Bitmap.php b/lib/private/Preview/Bitmap.php
index 7322e07ab34..e8d8c7a3fa5 100644
--- a/lib/private/Preview/Bitmap.php
+++ b/lib/private/Preview/Bitmap.php
@@ -106,7 +106,7 @@ abstract class Bitmap extends ProviderV2 {
* @return \Imagick
*/
private function resize($bp, $maxX, $maxY) {
- list($previewWidth, $previewHeight) = array_values($bp->getImageGeometry());
+ [$previewWidth, $previewHeight] = array_values($bp->getImageGeometry());
// We only need to resize a preview which doesn't fit in the maximum dimensions
if ($previewWidth > $maxX || $previewHeight > $maxY) {