14
14
use Composer \EventDispatcher \EventSubscriberInterface ;
15
15
use Composer \IO \IOInterface ;
16
16
use Composer \Plugin \PluginInterface ;
17
- use Composer \Script \PackageEvent ;
17
+ use Composer \Installer \PackageEvent ;
18
18
use Composer \Script \ScriptEvents ;
19
19
use Composer \Util \Filesystem ;
20
20
@@ -57,7 +57,7 @@ public function __construct(Composer $composer, IOInterface $io)
57
57
/**
58
58
* Pre Package event behaviour for backing up preserved paths.
59
59
*
60
- * @param \Composer\Script \PackageEvent $event
60
+ * @param \Composer\Installer \PackageEvent $event
61
61
*/
62
62
public function prePackage (PackageEvent $ event )
63
63
{
@@ -82,7 +82,7 @@ public function prePackage(PackageEvent $event)
82
82
/**
83
83
* Pre Package event behaviour for backing up preserved paths.
84
84
*
85
- * @param \Composer\Script \PackageEvent $event
85
+ * @param \Composer\Installer \PackageEvent $event
86
86
*/
87
87
public function postPackage (PackageEvent $ event )
88
88
{
@@ -100,7 +100,7 @@ public function postPackage(PackageEvent $event)
100
100
* In the case of update, the target package is retrieved, as that will
101
101
* provide the path the package will be installed to.
102
102
*
103
- * @param \Composer\Script \PackageEvent $event
103
+ * @param \Composer\Installer \PackageEvent $event
104
104
* @return \Composer\Package\PackageInterface[]
105
105
* @throws \Exception
106
106
*/
0 commit comments