Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / src / Plugin / ImageToolkit / Operation / gd / Rotate.php
index 433561253105d501912bde275f5313a69d9e5698..e567ea43f261215758e0f9d75cb8eb4afe488bd8 100644 (file)
@@ -45,7 +45,7 @@ class Rotate extends GDImageToolkitOperationBase {
     // Validate or set background color argument.
     if (!empty($arguments['background'])) {
       // Validate the background color: Color::hexToRgb does so for us.
-      $background = Color::hexToRgb($arguments['background']) + [ 'alpha' => 0 ];
+      $background = Color::hexToRgb($arguments['background']) + ['alpha' => 0];
     }
     else {
       // Background color is not specified: use transparent white as background.