summaryrefslogtreecommitdiffstats
path: root/tests/lib/App/AppStore/Fetcher/FetcherBase.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-04-10 13:28:15 +0200
committerGitHub <noreply@github.com>2020-04-10 13:28:15 +0200
commit71b073839fc06e209d6c04934eb7fa918f48d1fa (patch)
tree27074d5403b67cbaf59d7b7181481ebe70af5d9e /tests/lib/App/AppStore/Fetcher/FetcherBase.php
parentd6e17fb01777866674129a5883c03642f4bfd4a5 (diff)
parent14c996d98256de958da367297c3313e0fa7ef9a8 (diff)
downloadnextcloud-server-71b073839fc06e209d6c04934eb7fa918f48d1fa.tar.gz
nextcloud-server-71b073839fc06e209d6c04934eb7fa918f48d1fa.zip
Merge pull request #20402 from nextcloud/techdebt/elseif
Use elseif instead of else if
Diffstat (limited to 'tests/lib/App/AppStore/Fetcher/FetcherBase.php')
-rw-r--r--tests/lib/App/AppStore/Fetcher/FetcherBase.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/App/AppStore/Fetcher/FetcherBase.php b/tests/lib/App/AppStore/Fetcher/FetcherBase.php
index 11813c7f3bd..cfe0af40483 100644
--- a/tests/lib/App/AppStore/Fetcher/FetcherBase.php
+++ b/tests/lib/App/AppStore/Fetcher/FetcherBase.php
@@ -213,7 +213,7 @@ abstract class FetcherBase extends TestCase {
->willReturnCallback(function ($key, $default) {
if ($key === 'appstoreenabled') {
return true;
- } else if ($key === 'version') {
+ } elseif ($key === 'version') {
return '11.0.0.2';
} else {
return $default;
@@ -506,7 +506,7 @@ abstract class FetcherBase extends TestCase {
->willReturnCallback(function ($key, $default) {
if ($key === 'appstoreenabled') {
return true;
- } else if ($key === 'version') {
+ } elseif ($key === 'version') {
return '11.0.0.2';
} else {
return $default;
@@ -587,7 +587,7 @@ abstract class FetcherBase extends TestCase {
->willReturnCallback(function ($key, $default) {
if ($key === 'appstoreenabled') {
return true;
- } else if ($key === 'version') {
+ } elseif ($key === 'version') {
return '11.0.0.2';
} else {
return $default;
@@ -674,7 +674,7 @@ abstract class FetcherBase extends TestCase {
->willReturnCallback(function ($key, $default) {
if ($key === 'appstoreenabled') {
return true;
- } else if ($key === 'version') {
+ } elseif ($key === 'version') {
return '11.0.0.3';
} else {
return $default;