$that->normaliseParams( $image, $params );
- $scalerParams = array(
+ $scalerParams = [
# The size to which the image will be resized
'physicalWidth' => $params['physicalWidth'],
'physicalHeight' => $params['physicalHeight'],
'mimeType' => $image->getMimeType(),
'dstPath' => $dstPath,
'dstUrl' => $dstUrl,
- );
+ ];
# In some cases, we do not bother generating a thumbnail.
if ( !$image->mustRender() &&