aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App/DependencyAnalyzer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/App/DependencyAnalyzer.php')
-rw-r--r--lib/private/App/DependencyAnalyzer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/DependencyAnalyzer.php b/lib/private/App/DependencyAnalyzer.php
index 8476f9bc145..2ca0cdeabf3 100644
--- a/lib/private/App/DependencyAnalyzer.php
+++ b/lib/private/App/DependencyAnalyzer.php
@@ -123,7 +123,7 @@ class DependencyAnalyzer {
// version string but null. In case one parameter is null normalization
// will therefore be skipped
if ($first !== null && $second !== null) {
- list($first, $second) = $this->normalizeVersions($first, $second);
+ [$first, $second] = $this->normalizeVersions($first, $second);
}
return version_compare($first, $second, $operator);