ApiResult: Remove double space in error message
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 29 Aug 2016 14:02:04 +0000 (16:02 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 29 Aug 2016 14:02:04 +0000 (16:02 +0200)
Change-Id: I5888d617ab9aebe5ae1fe4da6873639a81f60fc3

includes/api/ApiResult.php

index 00846f5..e308ba4 100644 (file)
@@ -415,7 +415,7 @@ class ApiResult implements ApiSerializable {
                        if ( $this->maxSize !== false && $newsize > $this->maxSize ) {
                                /// @todo Add i18n message when replacing calls to ->setWarning()
                                $msg = new ApiRawMessage( 'This result was truncated because it would otherwise ' .
-                                       ' be larger than the limit of $1 bytes', 'truncatedresult' );
+                                       'be larger than the limit of $1 bytes', 'truncatedresult' );
                                $msg->numParams( $this->maxSize );
                                $this->errorFormatter->addWarning( 'result', $msg );
                                return false;