Tag redirects from moves as new redirects
[lhc/web/wiklou.git] / includes / gallery / PackedImageGallery.php
index 821c85f..2e4836a 100644 (file)
@@ -60,10 +60,10 @@ class PackedImageGallery extends TraditionalImageGallery {
                }
 
                // self::SCALE_FACTOR so the js has some room to manipulate sizes.
-               return array(
+               return [
                        'width' => $width * self::SCALE_FACTOR,
                        'height' => $this->mHeights * self::SCALE_FACTOR,
-               );
+               ];
        }
 
        protected function getThumbDivWidth( $thumbWidth ) {
@@ -98,7 +98,7 @@ class PackedImageGallery extends TraditionalImageGallery {
         * @return array
         */
        protected function getModules() {
-               return array( 'mediawiki.page.gallery' );
+               return [ 'mediawiki.page.gallery' ];
        }
 
        /**