aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Avatar/Avatar.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Avatar/Avatar.php')
-rw-r--r--lib/private/Avatar/Avatar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Avatar/Avatar.php b/lib/private/Avatar/Avatar.php
index 02fc04eae36..09d08f930e6 100644
--- a/lib/private/Avatar/Avatar.php
+++ b/lib/private/Avatar/Avatar.php
@@ -187,7 +187,7 @@ abstract class Avatar implements IAvatar {
$font = __DIR__ . '/../../../core/fonts/NotoSans-Regular.ttf';
$fontSize = $size * 0.4;
- list($x, $y) = $this->imageTTFCenter(
+ [$x, $y] = $this->imageTTFCenter(
$im, $text, $font, (int)$fontSize
);