@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | /** |
| 27 | 27 | * Display config data and location. |
| 28 | 28 | * |
| 29 | - * @return boolean|void |
|
| 29 | + * @return integer|null |
|
| 30 | 30 | */ |
| 31 | 31 | public function actionConfigInfo() |
| 32 | 32 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | * Save a value in the config for a given key. |
| 78 | 78 | * |
| 79 | 79 | * @param string $key |
| 80 | - * @param mixed $value |
|
| 80 | + * @param string|boolean $value |
|
| 81 | 81 | * @return mixed |
| 82 | 82 | */ |
| 83 | 83 | protected function saveConfig($key, $value) |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | // generate summary overview |
| 98 | 98 | foreach ($this->repos as $repo) { |
| 99 | 99 | $newRepoHome = $this->getFilesystemRepoPath($repo); |
| 100 | - if (file_exists($newRepoHome . DIRECTORY_SEPARATOR . '.git')) { |
|
| 100 | + if (file_exists($newRepoHome.DIRECTORY_SEPARATOR.'.git')) { |
|
| 101 | 101 | $summary[] = $this->summaryItem($repo, false, true); |
| 102 | 102 | } elseif ($this->forkExists($username, $repo)) { |
| 103 | 103 | $summary[] = $this->summaryItem($repo, true, false); |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | */ |
| 246 | 246 | private function getFilesystemRepoPath($repo) |
| 247 | 247 | { |
| 248 | - return 'repos' . DIRECTORY_SEPARATOR . $repo; |
|
| 248 | + return 'repos'.DIRECTORY_SEPARATOR.$repo; |
|
| 249 | 249 | } |
| 250 | 250 | |
| 251 | 251 | /** |