Fix parenthesis placement in multi-line condition
After talking with the folks in #mediawiki-core, I decided that I can put up with it, under protest, on the basis that it's arguably consistent with PSR-2. Change-Id: I5f0c0f8f0172674797970d306efe6439ce1c2b67
This commit is contained in:
parent
25d35fc65c
commit
90a3418cf2
1 changed files with 4 additions and 4 deletions
|
|
@ -1434,8 +1434,8 @@ class EditPage {
|
|||
protected function runPostMergeFilters( Content $content, Status $status, User $user ) {
|
||||
// Run old style post-section-merge edit filter
|
||||
if ( !ContentHandler::runLegacyHooks( 'EditFilterMerged',
|
||||
array( $this, $content, &$this->hookError, $this->summary ) ) )
|
||||
{
|
||||
array( $this, $content, &$this->hookError, $this->summary ) )
|
||||
) {
|
||||
# Error messages etc. could be handled within the hook...
|
||||
$status->fatal( 'hookaborted' );
|
||||
$status->value = self::AS_HOOK_ERROR;
|
||||
|
|
@ -1450,8 +1450,8 @@ class EditPage {
|
|||
// Run new style post-section-merge edit filter
|
||||
if ( !Hooks::run( 'EditFilterMergedContent',
|
||||
array( $this->mArticle->getContext(), $content, $status, $this->summary,
|
||||
$user, $this->minoredit ) ) )
|
||||
{
|
||||
$user, $this->minoredit ) )
|
||||
) {
|
||||
# Error messages etc. could be handled within the hook...
|
||||
if ( $status->isGood() ) {
|
||||
$status->fatal( 'hookaborted' );
|
||||
|
|
|
|||
Loading…
Reference in a new issue