Replace elseif by else if
Summary: Mostly written by me. Omit external libraries. Test Plan: http://phabricator.com/docs/phabricator/article/PHP_Coding_Standards.html Reviewers: epriestley Reviewed By: epriestley CC: aran Differential Revision: https://secure.phabricator.com/D2104
This commit is contained in:
@@ -1355,7 +1355,7 @@ final class DifferentialChangesetParser {
|
||||
if ($this->old[$ii]['type'] == '\\') {
|
||||
$o_text = $this->old[$ii]['text'];
|
||||
$o_attr = ' class="comment"';
|
||||
} elseif (empty($this->new[$ii])) {
|
||||
} else if (empty($this->new[$ii])) {
|
||||
$o_attr = ' class="old old-full"';
|
||||
} else {
|
||||
$o_attr = ' class="old"';
|
||||
@@ -1389,7 +1389,7 @@ final class DifferentialChangesetParser {
|
||||
if ($this->new[$ii]['type'] == '\\') {
|
||||
$n_text = $this->new[$ii]['text'];
|
||||
$n_attr = ' class="comment"';
|
||||
} elseif (empty($this->old[$ii])) {
|
||||
} else if (empty($this->old[$ii])) {
|
||||
$n_attr = ' class="new new-full"';
|
||||
} else {
|
||||
$n_attr = ' class="new"';
|
||||
|
||||
Reference in New Issue
Block a user