dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deprecate setting Parser::mTitle to null
[lhc/web/wiklou.git]
/
includes
/
media
/
MediaTransformError.php
diff --git
a/includes/media/MediaTransformError.php
b/includes/media/MediaTransformError.php
index
f3b5d8f
..
fb1b015
100644
(file)
--- a/
includes/media/MediaTransformError.php
+++ b/
includes/media/MediaTransformError.php
@@
-30,8
+30,7
@@
class MediaTransformError extends MediaTransformOutput {
/** @var Message */
private $msg;
/** @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 );
$this->msg = wfMessage( $msg )->params( $args );
$this->width = intval( $width );
$this->height = intval( $height );