@@ -25,6 +25,11 @@ discard block |
||
25 | 25 | $this->default = $default; |
26 | 26 | } |
27 | 27 | |
28 | + /** |
|
29 | + * @param string $default |
|
30 | + * |
|
31 | + * @return string |
|
32 | + */ |
|
28 | 33 | public static function getVersion($default = null) |
29 | 34 | { |
30 | 35 | $provider = new self($default); |
@@ -52,6 +57,9 @@ discard block |
||
52 | 57 | return $version; |
53 | 58 | } |
54 | 59 | |
60 | + /** |
|
61 | + * @param string $package |
|
62 | + */ |
|
55 | 63 | public function getComposerInstalledVersion($package) |
56 | 64 | { |
57 | 65 | if (null === $path = $this->getComposerInstalledJsonPath()) { |