aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/Avatar.php
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/features/bootstrap/Avatar.php')
-rw-r--r--build/integration/features/bootstrap/Avatar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/Avatar.php b/build/integration/features/bootstrap/Avatar.php
index 388715340c6..e5d5f32be1b 100644
--- a/build/integration/features/bootstrap/Avatar.php
+++ b/build/integration/features/bootstrap/Avatar.php
@@ -173,7 +173,7 @@ trait Avatar {
* @param string size
*/
public function lastAvatarIsASquareOfSize(string $size) {
- list($width, $height) = getimagesizefromstring($this->lastAvatar);
+ [$width, $height] = getimagesizefromstring($this->lastAvatar);
Assert::assertEquals($width, $height, 'Avatar is not a square');
Assert::assertEquals($size, $width);