File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public function __construct(array $data = [])
45
45
$ this ->url = (array_key_exists ('url ' , $ data ) ? $ data ['url ' ] : '' );
46
46
$ this ->options = (array_key_exists ('options ' , $ data ) ? $ data ['options ' ] : []);
47
47
48
- $ this ->package = (array_key_exists ('package ' , $ data ) ? new ComposerJson ($ data ['pacakge ' ]) : null );
48
+ $ this ->package = (array_key_exists ('package ' , $ data ) ? new ComposerJson ($ data ['package ' ]) : null );
49
49
}
50
50
51
51
/**
@@ -70,7 +70,7 @@ public function getUrl() : string
70
70
* Gets the additional options of the repository.
71
71
* @return array
72
72
*/
73
- public function getOptions () : string
73
+ public function getOptions () : array
74
74
{
75
75
return $ this ->options ;
76
76
}
@@ -79,7 +79,7 @@ public function getOptions() : string
79
79
* Gets the parsed "package" key of the repository.
80
80
* @return ComposerJson|null
81
81
*/
82
- public function getPackage () : ComposerJson
82
+ public function getPackage () : ? ComposerJson
83
83
{
84
84
return $ this ->package ;
85
85
}
You can’t perform that action at this time.
0 commit comments