Split down patch-actor-table.sql
[lhc/web/wiklou.git] / includes / media / MediaTransformError.php
index f3b5d8f..fb1b015 100644 (file)
@@ -30,8 +30,7 @@ class MediaTransformError extends MediaTransformOutput {
        /** @var Message */
        private $msg;
 
-       function __construct( $msg, $width, $height /*, ... */ ) {
-               $args = array_slice( func_get_args(), 3 );
+       function __construct( $msg, $width, $height, ...$args ) {
                $this->msg = wfMessage( $msg )->params( $args );
                $this->width = intval( $width );
                $this->height = intval( $height );