Issue Bug Closed

#59619Static call of non-static function in Package.php

Jan Schreier 06/17/14, 11:11 updated 10/02/18, 11:54

Description

in Classes/Package/PackageManager.php around line 73 there is this line:

if (!\TYPO3\CMS\Core\Package\PackageManager::isPackageKeyValid($packageKey)) {

the called method “isPackageKeyValid” is non-satic so from my understanding it should be changed to:

if (!$packageManager->isPackageKeyValid($packageKey)) {

can somebody check this?

Reviews 2