@@ -66,6 +66,9 @@ discard block |
||
66 | 66 | $addon->write(); |
67 | 67 | } |
68 | 68 | |
69 | + /** |
|
70 | + * @param string $path |
|
71 | + */ |
|
69 | 72 | protected function download(PackageInterface $package, $path) { |
70 | 73 | $this->packagist |
71 | 74 | ->getComposer() |
@@ -73,6 +76,9 @@ discard block |
||
73 | 76 | ->download($package, $path); |
74 | 77 | } |
75 | 78 | |
79 | + /** |
|
80 | + * @param string $path |
|
81 | + */ |
|
76 | 82 | private function buildReadme(Addon $addon, $path) { |
77 | 83 | $candidates = array( |
78 | 84 | 'README.md', |
@@ -107,6 +113,9 @@ discard block |
||
107 | 113 | } |
108 | 114 | } |
109 | 115 | |
116 | + /** |
|
117 | + * @param string $path |
|
118 | + */ |
|
110 | 119 | private function buildScreenshots(Addon $addon, PackageInterface $package, $path) { |
111 | 120 | $extra = $package->getExtra(); |
112 | 121 | $screenshots = array(); |