Merge "ApiFormatPhp: Fix dieUsage call on unknown formatversion value"

This commit is contained in:
jenkins-bot 2015-04-20 15:14:07 +00:00 committed by Gerrit Code Review
commit c9efc4ec9b

View file

@ -55,7 +55,7 @@ class ApiFormatPhp extends ApiFormatBase {
break;
default:
self::dieUsage( __METHOD__ . ': Unknown value for \'formatversion\'' );
$this->dieUsage( __METHOD__ . ': Unknown value for \'formatversion\'', 'unknownformatversion' );
}
$text = serialize( $this->getResult()->getResultData( null, $transforms ) );