@@ -93,6 +93,7 @@ |
||
93 | 93 | /** |
94 | 94 | * Get the package from the lockfile |
95 | 95 | * |
96 | + * @param string $directory |
|
96 | 97 | * @return stdClass|bool returns false when package can not be found |
97 | 98 | **/ |
98 | 99 | private function getPackageFromLockFile($directory) |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * Set the file |
70 | 70 | * |
71 | 71 | * @param string $file |
72 | - * @return parent |
|
72 | + * @return File |
|
73 | 73 | */ |
74 | 74 | public function setFile($file) |
75 | 75 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | * Set the finder |
87 | 87 | * |
88 | 88 | * @param SfFinder $finder |
89 | - * @return SfFinder |
|
89 | + * @return Finder |
|
90 | 90 | */ |
91 | 91 | public function setFinder(SfFinder $finder) |
92 | 92 | { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | namespace Naneau\ProjectVersioner\Reader\Finder; |
10 | 10 | |
11 | 11 | use Naneau\ProjectVersioner\ReaderInterface; |
12 | - |
|
13 | 12 | use Symfony\Component\Finder\Finder as SfFinder; |
14 | 13 | |
15 | 14 | /** |
@@ -55,7 +55,7 @@ |
||
55 | 55 | * |
56 | 56 | * @param string $command |
57 | 57 | * @param string $directory |
58 | - * @return void |
|
58 | + * @return boolean |
|
59 | 59 | **/ |
60 | 60 | private function canExec($command, $directory) |
61 | 61 | { |
@@ -135,7 +135,7 @@ |
||
135 | 135 | /** |
136 | 136 | * Add a reader |
137 | 137 | * |
138 | - * @param Reader[] $reader |
|
138 | + * @param ReaderInterface $reader |
|
139 | 139 | * @return Versioner |
140 | 140 | */ |
141 | 141 | public function addReader(Reader $reader) |