summaryrefslogtreecommitdiffstats
path: root/lib/private/app
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2016-01-15 12:54:26 +0000
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2016-01-15 12:54:26 +0000
commit83a8e756143bf5e1727b497f89d8d18888df2fbd (patch)
tree65dcda933a79668a9f24334419de3da09f974854 /lib/private/app
parent6a7be4d277a82ab8da297fbeae1e82a61338b649 (diff)
downloadnextcloud-server-83a8e756143bf5e1727b497f89d8d18888df2fbd.tar.gz
nextcloud-server-83a8e756143bf5e1727b497f89d8d18888df2fbd.zip
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'lib/private/app')
-rw-r--r--lib/private/app/dependencyanalyzer.php2
-rw-r--r--lib/private/app/platformrepository.php3
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/app/dependencyanalyzer.php b/lib/private/app/dependencyanalyzer.php
index ba2479ae7aa..0cf4bc72161 100644
--- a/lib/private/app/dependencyanalyzer.php
+++ b/lib/private/app/dependencyanalyzer.php
@@ -73,7 +73,7 @@ class DependencyAnalyzer {
* 5.2.6.5 and 5.1 will be turned into 5.2 and 5.1
* @param string $first
* @param string $second
- * @return array first element is the first version, second element is the
+ * @return string[] first element is the first version, second element is the
* second version
*/
private function normalizeVersions($first, $second) {
diff --git a/lib/private/app/platformrepository.php b/lib/private/app/platformrepository.php
index 730c67f45ee..7363b2a44b1 100644
--- a/lib/private/app/platformrepository.php
+++ b/lib/private/app/platformrepository.php
@@ -206,6 +206,9 @@ class PlatformRepository {
throw new \UnexpectedValueException('Invalid version string "' . $version . '"' . $extraMessage);
}
+ /**
+ * @param string $stability
+ */
private function expandStability($stability) {
$stability = strtolower($stability);
switch ($stability) {