Coding Standards: Fix the Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace violations.

See #45934.


Built from https://develop.svn.wordpress.org/trunk@44566


git-svn-id: http://core.svn.wordpress.org/trunk@44397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast
2019-01-11 06:40:50 +00:00
parent 6d5cd6842a
commit 4f861b9548
13 changed files with 34 additions and 35 deletions

View File

@@ -2897,8 +2897,8 @@ class wp_xmlrpc_server extends IXR_Server {
// If we found the page then format the data.
if ( $page->ID && ( $page->post_type == 'page' ) ) {
return $this->_prepare_page( $page );
} // If the page doesn't exist indicate that.
else {
} else {
// If the page doesn't exist indicate that.
return new IXR_Error( 404, __( 'Sorry, no such page.' ) );
}
}