@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | * create a repository from a remote git url, or a local filesystem |
| 148 | 148 | * and save it in a temp folder |
| 149 | 149 | * |
| 150 | - * @param string|Repository $git the git remote url, or the filesystem path |
|
| 150 | + * @param string $git the git remote url, or the filesystem path |
|
| 151 | 151 | * @param null $repositoryPath path |
| 152 | 152 | * @param GitBinary $binary binary |
| 153 | 153 | * @param null $name repository name |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | /** |
| 196 | 196 | * Stage the working tree content |
| 197 | 197 | * |
| 198 | - * @param string|NodeObject $path the path to store |
|
| 198 | + * @param string $path the path to store |
|
| 199 | 199 | * |
| 200 | 200 | * @throws \RuntimeException |
| 201 | 201 | * @throws \Symfony\Component\Process\Exception\LogicException |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | /** |
| 214 | 214 | * Unstage a tree content |
| 215 | 215 | * |
| 216 | - * @param string|NodeObject $path the path to unstage |
|
| 216 | + * @param string $path the path to unstage |
|
| 217 | 217 | * |
| 218 | 218 | * @throws \RuntimeException |
| 219 | 219 | * @throws \Symfony\Component\Process\Exception\LogicException |
@@ -231,8 +231,8 @@ discard block |
||
| 231 | 231 | /** |
| 232 | 232 | * Move a file/directory |
| 233 | 233 | * |
| 234 | - * @param string|NodeObject $from source path |
|
| 235 | - * @param string|NodeObject $to destination path |
|
| 234 | + * @param string $from source path |
|
| 235 | + * @param string $to destination path |
|
| 236 | 236 | * |
| 237 | 237 | * @throws \RuntimeException |
| 238 | 238 | * @throws \Symfony\Component\Process\Exception\LogicException |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | /** |
| 252 | 252 | * Remove a file/directory |
| 253 | 253 | * |
| 254 | - * @param string|NodeObject $path the path to remove |
|
| 254 | + * @param string $path the path to remove |
|
| 255 | 255 | * @param bool $recursive recurse |
| 256 | 256 | * @param bool $force force |
| 257 | 257 | * |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | } |
| 333 | 333 | |
| 334 | 334 | /** |
| 335 | - * @param TreeishInterface|Commit|string $arg |
|
| 335 | + * @param Commit $arg |
|
| 336 | 336 | * @param array $options |
| 337 | 337 | */ |
| 338 | 338 | public function reset($arg, $options) |
@@ -808,7 +808,7 @@ discard block |
||
| 808 | 808 | * |
| 809 | 809 | * @param string|TreeishInterface|array $ref the treeish to check, as a string, as an object or as an array |
| 810 | 810 | * @param string|NodeObject $path the physical path to the tree relative to the repository root |
| 811 | - * @param int|null $limit limit to n entries |
|
| 811 | + * @param integer $limit limit to n entries |
|
| 812 | 812 | * @param int|null $offset skip n entries |
| 813 | 813 | * @param boolean|false $firstParent skip commits brought in to branch by a merge |
| 814 | 814 | * |
@@ -825,7 +825,7 @@ discard block |
||
| 825 | 825 | * @param string $refStart |
| 826 | 826 | * @param string $refEnd |
| 827 | 827 | * @param string|NodeObject $path the physical path to the tree relative to the repository root |
| 828 | - * @param int|null $limit limit to n entries |
|
| 828 | + * @param integer $limit limit to n entries |
|
| 829 | 829 | * @param int|null $offset skip n entries |
| 830 | 830 | * @param boolean|false $firstParent skip commits brought in to branch by a merge |
| 831 | 831 | * |
@@ -850,7 +850,7 @@ discard block |
||
| 850 | 850 | * Get a log for an object |
| 851 | 851 | * |
| 852 | 852 | * @param \GitElephant\Objects\NodeObject $obj The Object instance |
| 853 | - * @param null|string|\GitElephant\Objects\Branch $branch The branch to read from |
|
| 853 | + * @param string|null $branch The branch to read from |
|
| 854 | 854 | * @param int $limit Limit to n entries |
| 855 | 855 | * @param int|null $offset Skip n entries |
| 856 | 856 | * |
@@ -919,7 +919,7 @@ discard block |
||
| 919 | 919 | * Get a Diff object for a commit with its parent, by default the diff is between the current head and its parent |
| 920 | 920 | * |
| 921 | 921 | * @param \GitElephant\Objects\Commit|string $commit1 A TreeishInterface instance |
| 922 | - * @param \GitElephant\Objects\Commit|string|null $commit2 A TreeishInterface instance |
|
| 922 | + * @param Commit $commit2 A TreeishInterface instance |
|
| 923 | 923 | * @param null|string|NodeObject $path The path to get the diff for or a Object instance |
| 924 | 924 | * |
| 925 | 925 | * @throws \RuntimeException |
@@ -935,7 +935,7 @@ discard block |
||
| 935 | 935 | * Clone a repository |
| 936 | 936 | * |
| 937 | 937 | * @param string $url the repository url (i.e. git://github.com/matteosister/GitElephant.git) |
| 938 | - * @param null $to where to clone the repo |
|
| 938 | + * @param string|null $to where to clone the repo |
|
| 939 | 939 | * |
| 940 | 940 | * @throws \RuntimeException |
| 941 | 941 | * @throws \Symfony\Component\Process\Exception\LogicException |
@@ -1072,7 +1072,7 @@ discard block |
||
| 1072 | 1072 | * output a node content as an array of lines |
| 1073 | 1073 | * |
| 1074 | 1074 | * @param \GitElephant\Objects\NodeObject $obj The Object of type BLOB |
| 1075 | - * @param \GitElephant\Objects\TreeishInterface|string $treeish A treeish object |
|
| 1075 | + * @param null|Branch $treeish A treeish object |
|
| 1076 | 1076 | * |
| 1077 | 1077 | * @throws \RuntimeException |
| 1078 | 1078 | * @throws \Symfony\Component\Process\Exception\LogicException |