File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
parameters :
2
- level : 5
2
+ level : 6
3
3
paths :
4
4
- src
5
5
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class ComposerScripts
22
22
*/
23
23
protected static $ vendorDir ;
24
24
25
- protected static function getBinDir (Event $ event )
25
+ protected static function getBinDir (Event $ event ): string
26
26
{
27
27
if (!static ::$ binDir ) {
28
28
static ::$ binDir = realpath ($ event ->getComposer ()->getConfig ()->get ('bin-dir ' ));
@@ -31,7 +31,7 @@ protected static function getBinDir(Event $event)
31
31
return static ::$ binDir ;
32
32
}
33
33
34
- protected static function getVendorDir (Event $ event )
34
+ protected static function getVendorDir (Event $ event ): string
35
35
{
36
36
if (!static ::$ vendorDir ) {
37
37
static ::$ vendorDir = realpath ($ event ->getComposer ()->getConfig ()->get ('vendor-dir ' ));
@@ -40,7 +40,7 @@ protected static function getVendorDir(Event $event)
40
40
return static ::$ vendorDir ;
41
41
}
42
42
43
- protected static function bootstrap (Event $ event )
43
+ protected static function bootstrap (Event $ event ): void
44
44
{
45
45
require_once static ::getVendorDir ($ event ) . '/autoload.php ' ;
46
46
}
You can’t perform that action at this time.
0 commit comments