Commit 6c5cc4cf authored by Daniel Hürtgen's avatar Daniel Hürtgen

TASK: Rename supported types variables

parent 978a721f
......@@ -249,10 +249,10 @@ class Installer extends LibraryInstaller
*/
public function supports($packageType)
{
$secondaryPackageTypes = array('phpcodesniffer-standards');
$deprecatedPackageTypes = array('php-codesniffer-standards');
$secondaryTypes = array('phpcodesniffer-standards');
$deprecatedTypes = array('php-codesniffer-standards');
return parent::supports($packageType)
|| in_array($packageType, array_merge($secondaryPackageTypes, $deprecatedPackageTypes));
|| in_array($packageType, array_merge($secondaryTypes, $deprecatedTypes));
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment