@@ -67,8 +67,8 @@ discard block |
||
67 | 67 | * Opens a Git repository on the file system, optionally creates and initializes a new repository |
68 | 68 | * |
69 | 69 | * @param string $repositoryPath The full path to the repository |
70 | - * @param Binary|string|null $git The Git binary |
|
71 | - * @param boolean|integer $createIfNotExists False to fail on non-existing repositories, directory |
|
70 | + * @param Binary $git The Git binary |
|
71 | + * @param boolean $createIfNotExists False to fail on non-existing repositories, directory |
|
72 | 72 | * creation mode, such as 0755 if the command |
73 | 73 | * should create the directory and init the repository instead |
74 | 74 | * @param array|null $initArguments Arguments to be passed to git-init if initializing a |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | /** |
278 | 278 | * Removes one or more files from the repository but does not commit the changes |
279 | 279 | * |
280 | - * @param array $file The file(s) to be removed |
|
280 | + * @param string[] $file The file(s) to be removed |
|
281 | 281 | * @param boolean $recursive True to recursively remove subdirectories |
282 | 282 | * @param boolean $force True to continue even though Git reports a possible conflict |
283 | 283 | */ |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | * Writes data to a file and commit the changes immediately |
328 | 328 | * |
329 | 329 | * @param string $path The file path |
330 | - * @param string|array $data The data to write to the file |
|
330 | + * @param string $data The data to write to the file |
|
331 | 331 | * @param string|null $commitMsg The commit message used when committing the changes |
332 | 332 | * @param integer|null $fileMode The mode for creating the file |
333 | 333 | * @param integer|null $dirMode The mode for creating the intermediate directories |
@@ -500,7 +500,7 @@ discard block |
||
500 | 500 | * git-log --limit=5 --skip=10 --reverse --diff=git path/to/to/repo/file.txt |
501 | 501 | * and will put defaults at the beginning of the call, as well. |
502 | 502 | * |
503 | - * @param array $regularStyleArguments An ordered list of the names of regular-style arguments that should be accepted. |
|
503 | + * @param string[] $regularStyleArguments An ordered list of the names of regular-style arguments that should be accepted. |
|
504 | 504 | * @param array $namedStyleArguments An associative array of named arguments to their default value, |
505 | 505 | * or null where no default is desired. |
506 | 506 | * @param array $arguments The result of func_get_args() in the original function call we're helping. |
@@ -905,7 +905,7 @@ discard block |
||
905 | 905 | /** |
906 | 906 | * Returns the diff of a file |
907 | 907 | * |
908 | - * @param string $file The path to the file |
|
908 | + * @param string $files The path to the file |
|
909 | 909 | * @param bool $staged Should the diff return for the staged file |
910 | 910 | * @return string |
911 | 911 | */ |