core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php | 1 - 1 file changed, 1 deletion(-) diff --git a/core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php b/core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php index 678689a..9964886 100644 --- a/core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php +++ b/core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php @@ -52,7 +52,6 @@ public function transformDimensions(array &$dimensions) { $dimensions['height'] = $temp; } } - // The rotation is random, hence we cannot determine the new dimensions. else { $dimensions['width'] = $dimensions['height'] = NULL; }