1414use Composer \EventDispatcher \EventSubscriberInterface ;
1515use Composer \IO \IOInterface ;
1616use Composer \Plugin \PluginInterface ;
17- use Composer \Script \PackageEvent ;
17+ use Composer \Installer \PackageEvent ;
1818use Composer \Script \ScriptEvents ;
1919use Composer \Util \Filesystem ;
2020
@@ -57,7 +57,7 @@ public function __construct(Composer $composer, IOInterface $io)
5757 /**
5858 * Pre Package event behaviour for backing up preserved paths.
5959 *
60- * @param \Composer\Script \PackageEvent $event
60+ * @param \Composer\Installer \PackageEvent $event
6161 */
6262 public function prePackage (PackageEvent $ event )
6363 {
@@ -82,7 +82,7 @@ public function prePackage(PackageEvent $event)
8282 /**
8383 * Pre Package event behaviour for backing up preserved paths.
8484 *
85- * @param \Composer\Script \PackageEvent $event
85+ * @param \Composer\Installer \PackageEvent $event
8686 */
8787 public function postPackage (PackageEvent $ event )
8888 {
@@ -100,7 +100,7 @@ public function postPackage(PackageEvent $event)
100100 * In the case of update, the target package is retrieved, as that will
101101 * provide the path the package will be installed to.
102102 *
103- * @param \Composer\Script \PackageEvent $event
103+ * @param \Composer\Installer \PackageEvent $event
104104 * @return \Composer\Package\PackageInterface[]
105105 * @throws \Exception
106106 */
0 commit comments