@@ -137,8 +137,8 @@ |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
140 | - * @param $sourcePath |
|
141 | - * @param $targetPath |
|
140 | + * @param string $sourcePath |
|
141 | + * @param string $targetPath |
|
142 | 142 | */ |
143 | 143 | private function removeGitHooks($sourcePath, $targetPath) |
144 | 144 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | continue; |
113 | 113 | } |
114 | 114 | |
115 | - $newPath = $targetPath.'/'.$githook->getFilename(); |
|
115 | + $newPath = $targetPath . '/' . $githook->getFilename(); |
|
116 | 116 | |
117 | 117 | // check if .sample version exists in that case rename it |
118 | 118 | if (file_exists($newPath . GitHooks::SAMPLE)) { |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | continue; |
151 | 151 | } |
152 | 152 | |
153 | - $newPath = $targetPath.'/'.$githook->getFilename(); |
|
153 | + $newPath = $targetPath . '/' . $githook->getFilename(); |
|
154 | 154 | if (file_exists($newPath)) { |
155 | 155 | $this->io->write(sprintf(' Removing git hook %s', $githook->getFilename())); |
156 | 156 | unlink($newPath); |