@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | * @param string $extensionKey extension key |
180 | 180 | * |
181 | 181 | * @throws InvalidArgumentException |
182 | - * @return array |
|
182 | + * @return string |
|
183 | 183 | */ |
184 | 184 | public function getExtensionInformation($extensionKey) { |
185 | 185 | if (strlen($extensionKey) === 0) { |
@@ -529,9 +529,8 @@ discard block |
||
529 | 529 | * Checks if the extension is able to install at the demanded location |
530 | 530 | * |
531 | 531 | * @param string $location The location |
532 | - * @param array $allowedInstallTypes The allowed locations |
|
533 | 532 | * |
534 | - * @return boolean |
|
533 | + * @return boolean|null |
|
535 | 534 | * @throws \InvalidArgumentException |
536 | 535 | */ |
537 | 536 | protected function checkInstallLocation($location) { |
@@ -26,7 +26,6 @@ |
||
26 | 26 | * This copyright notice MUST APPEAR in all copies of the script! |
27 | 27 | ***************************************************************/ |
28 | 28 | use InvalidArgumentException; |
29 | -use TYPO3\CMS\Core\Utility\GeneralUtility; |
|
30 | 29 | |
31 | 30 | /** |
32 | 31 | * Site API service |