File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 66 - php : 5.6
77 - php : 7.0
88 - php : 7.1
9- - php : hhvm
109
11- script : python tests/tests.py
10+ script : python tests/tests.py
Original file line number Diff line number Diff line change 66use Composer \IO \IOInterface ;
77use Composer \Package \AliasPackage ;
88use Composer \Package \CompletePackage ;
9- use Composer \Package \Package ;
9+ use Composer \Package \PackageInterface ;
1010
1111class PackageScriptsExtractor
1212{
@@ -23,10 +23,10 @@ public function __construct(IOInterface $io)
2323 }
2424
2525 /**
26- * @param Package $package
26+ * @param PackageInterface $package
2727 * @return array
2828 */
29- public function extract (Package $ package )
29+ public function extract (PackageInterface $ package )
3030 {
3131 // If we have extra.branch-alias, package will be an instanceof RootAliasPackage instead of RootPackage
3232 if ($ package instanceof AliasPackage) {
You can’t perform that action at this time.
0 commit comments