Skip to content

Commit b5555fb

Browse files
committed
Replace 'else if' with 'elseif'
1 parent 8defddc commit b5555fb

15 files changed

+15
-15
lines changed

library/Kubernetes/Web/CronJobListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3636
]
3737
)
3838
);
39-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
39+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
4040
$header->addHtml($this->createTitle());
4141
}
4242

library/Kubernetes/Web/DaemonSetListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3737
]
3838
)
3939
);
40-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
40+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
4141
$header->addHtml($this->createTitle());
4242
}
4343

library/Kubernetes/Web/DeploymentListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3737
]
3838
)
3939
);
40-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
40+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
4141
$header->addHtml($this->createTitle());
4242
}
4343

library/Kubernetes/Web/EventListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3636
]
3737
)
3838
);
39-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_COMMON) {
39+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_COMMON) {
4040
$header->addHtml($this->createTitle());
4141
}
4242

library/Kubernetes/Web/IngressListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3535
]
3636
)
3737
);
38-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
38+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
3939
$header->addHtml($this->createTitle());
4040
}
4141

library/Kubernetes/Web/JobListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3737
]
3838
)
3939
);
40-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
40+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
4141
$header->addHtml($this->createTitle());
4242
}
4343

library/Kubernetes/Web/NamespaceListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
4747
]
4848
)
4949
);
50-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
50+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
5151
$header->addHtml($this->createTitle());
5252
}
5353

library/Kubernetes/Web/NodeListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3636
]
3737
)
3838
);
39-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
39+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
4040
$header->addHtml($this->createTitle());
4141
}
4242
}

library/Kubernetes/Web/PersistentVolumeClaimListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
5050
]
5151
)
5252
);
53-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
53+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
5454
$header->addHtml($this->createTitle());
5555
}
5656

library/Kubernetes/Web/PersistentVolumeListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
5151
]
5252
)
5353
);
54-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
54+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
5555
$header->addHtml($this->createTitle());
5656
}
5757

library/Kubernetes/Web/PodListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
4545
]
4646
)
4747
);
48-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
48+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
4949
$header->addHtml($this->createTitle());
5050
}
5151

library/Kubernetes/Web/ReplicaSetListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3737
]
3838
)
3939
);
40-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
40+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
4141
$header->addHtml($this->createTitle());
4242
}
4343

library/Kubernetes/Web/SecretListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3434
]
3535
)
3636
);
37-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_COMMON) {
37+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_COMMON) {
3838
$header->addHtml($this->createTitle());
3939
}
4040

library/Kubernetes/Web/ServiceListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
3535
]
3636
)
3737
);
38-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
38+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
3939
$header->addHtml($this->createTitle());
4040
}
4141

library/Kubernetes/Web/StatefulSetListItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function assembleHeader(BaseHtmlElement $header): void
4747
]
4848
)
4949
);
50-
} else if ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
50+
} elseif ($this->getViewMode() === ViewModeSwitcher::VIEW_MODE_DETAILED) {
5151
$header->addHtml($this->createTitle());
5252
}
5353

0 commit comments

Comments
 (0)