Merge "Cleaned up variable/type order in docs."
[lhc/web/wiklou.git] / includes / api / ApiQuerySearch.php
index ab78ba6..0349830 100644 (file)
@@ -93,7 +93,7 @@ class ApiQuerySearch extends ApiQueryGeneratorBase {
                }
                if ( is_null( $matches ) ) {
                        $this->dieUsage( "{$what} search is disabled", "search-{$what}-disabled" );
-               } elseif( $matches instanceof Status && !$matches->isGood() ) {
+               } elseif ( $matches instanceof Status && !$matches->isGood() ) {
                        $this->dieUsage( $matches->getWikiText(), 'search-error' );
                }