@@ -28,6 +28,9 @@ discard block |
||
| 28 | 28 | return false; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @param string $key |
|
| 33 | + */ |
|
| 31 | 34 | public function getConfig($key) |
| 32 | 35 | { |
| 33 | 36 | $config = $this->readConfig(); |
@@ -35,6 +38,10 @@ discard block |
||
| 35 | 38 | return isset($config[$key]) ? $config[$key] : false; |
| 36 | 39 | } |
| 37 | 40 | |
| 41 | + /** |
|
| 42 | + * @param string $key |
|
| 43 | + * @param string $value |
|
| 44 | + */ |
|
| 38 | 45 | public function saveConfig($key, $value) |
| 39 | 46 | { |
| 40 | 47 | $content = $this->readConfig(); |
@@ -51,6 +51,10 @@ discard block |
||
| 51 | 51 | return $this->_gitWrapper; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param boolean $isFork |
|
| 56 | + * @param boolean $exists |
|
| 57 | + */ |
|
| 54 | 58 | private function summaryItem($repo, $isFork, $exists) |
| 55 | 59 | { |
| 56 | 60 | return [$repo, $exists, $isFork]; |
@@ -150,6 +154,9 @@ discard block |
||
| 150 | 154 | return $this->outputSuccess("init complete."); |
| 151 | 155 | } |
| 152 | 156 | |
| 157 | + /** |
|
| 158 | + * @param string $newRepoHome |
|
| 159 | + */ |
|
| 153 | 160 | private function cloneRepo($repo, $cloneUrl, $newRepoHome) |
| 154 | 161 | { |
| 155 | 162 | $this->outputSuccess("{$repo}: cloning ..."); |