Anomie pointed out that I am the only person who writes it as "? :", and
that all other instances in core use no space.
Change-Id: I01b68eed5f866fa7582fb4257f795c4c2d1244d1
);
}
- return $errors ? : true;
+ return $errors ?: true;
}
/**
$this->load();
$title = $this->getTitle();
- return Revision::userCanBitfield( $this->deleted, $field, $user, $title ? : null );
+ return Revision::userCanBitfield( $this->deleted, $field, $user, $title ?: null );
}
}
* @return bool
*/
protected function isAllowed( $permission, User $user = null ) {
- $user = $user ? : $this->getUser();
+ $user = $user ?: $this->getUser();
if ( $this->mTargetObj !== null ) {
return $this->mTargetObj->userCan( $permission, $user );
} else {