Skip to content

Commit 82375c3

Browse files
committed
providing correct number of args for uninstall
1 parent 97a97c5 commit 82375c3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/PatternLab/InstallerUtil.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ protected static function removeDots($path) {
573573
}
574574

575575
/**
576-
* Handle some Pattern Lab specific tasks based on what's found in the package's composer.json file
576+
* Handle some Pattern Lab specific tasks based on what's found in the package's composer.json file on install
577577
* @param {Array} the info culled from installing various pattern lab-related packages
578578
*/
579579
protected static function packagesInstall($installerInfo) {
@@ -637,12 +637,10 @@ protected static function packagesInstall($installerInfo) {
637637
}
638638

639639
/**
640-
* Make sure pattern engines and listeners are removed on uninstall
641-
* @param {String} the name of the package to be removed
642-
* @param {String} the type of the package to be removed
643-
* @param {String} the path of the package to be removed
640+
* Handle some Pattern Lab specific tasks based on what's found in the package's composer.json file on uninstall
641+
* @param {Array} the info culled from installing various pattern lab-related packages
644642
*/
645-
public static function packagesRemove($name, $type, $pathBase) {
643+
public static function packagesRemove($installerInfo) {
646644

647645
// run the console and config inits
648646
self::init();

0 commit comments

Comments
 (0)