@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | /** |
| 158 | 158 | * Return version from which this version is allowed to upgrade from |
| 159 | 159 | * |
| 160 | - * @return array allowed previous versions per vendor |
|
| 160 | + * @return string allowed previous versions per vendor |
|
| 161 | 161 | */ |
| 162 | 162 | private function getAllowedPreviousVersions() { |
| 163 | 163 | // this should really be a JSON file |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | * Whether an upgrade to a specified version is possible |
| 183 | 183 | * @param string $oldVersion |
| 184 | 184 | * @param string $newVersion |
| 185 | - * @param array $allowedPreviousVersions |
|
| 185 | + * @param string $allowedPreviousVersions |
|
| 186 | 186 | * @return bool |
| 187 | 187 | */ |
| 188 | 188 | public function isUpgradePossible($oldVersion, $newVersion, array $allowedPreviousVersions) { |