File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11parameters :
2- level : 5
2+ level : 6
33 paths :
44 - src
55
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class ComposerScripts
2222 */
2323 protected static $ vendorDir ;
2424
25- protected static function getBinDir (Event $ event )
25+ protected static function getBinDir (Event $ event ): string
2626 {
2727 if (!static ::$ binDir ) {
2828 static ::$ binDir = realpath ($ event ->getComposer ()->getConfig ()->get ('bin-dir ' ));
@@ -31,7 +31,7 @@ protected static function getBinDir(Event $event)
3131 return static ::$ binDir ;
3232 }
3333
34- protected static function getVendorDir (Event $ event )
34+ protected static function getVendorDir (Event $ event ): string
3535 {
3636 if (!static ::$ vendorDir ) {
3737 static ::$ vendorDir = realpath ($ event ->getComposer ()->getConfig ()->get ('vendor-dir ' ));
@@ -40,7 +40,7 @@ protected static function getVendorDir(Event $event)
4040 return static ::$ vendorDir ;
4141 }
4242
43- protected static function bootstrap (Event $ event )
43+ protected static function bootstrap (Event $ event ): void
4444 {
4545 require_once static ::getVendorDir ($ event ) . '/autoload.php ' ;
4646 }
You can’t perform that action at this time.
0 commit comments