@@ -343,7 +343,7 @@ |
||
343 | 343 | * NOTE: this will do an assertion in the hope to ensure |
344 | 344 | * sanity of the test double |
345 | 345 | * |
346 | - * @return \GitElephant\Objects\Remote |
|
346 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
347 | 347 | */ |
348 | 348 | public function getMockRemote() |
349 | 349 | { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | * @param string $cmd the command to execute |
72 | 72 | * @param bool $git if the command is git or a generic command |
73 | 73 | * @param string $cwd the directory where the command must be executed |
74 | - * @param array $acceptedExitCodes exit codes accepted to consider the command execution successful |
|
74 | + * @param integer[] $acceptedExitCodes exit codes accepted to consider the command execution successful |
|
75 | 75 | * |
76 | 76 | * @throws \RuntimeException |
77 | 77 | * @throws \Symfony\Component\Process\Exception\InvalidArgumentException |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | /** |
125 | 125 | * @param string $name file name |
126 | 126 | * @param string|null $folder folder name |
127 | - * @param null $content content |
|
127 | + * @param null|string $content content |
|
128 | 128 | * @param Repository $repository repository to add file to |
129 | 129 | * |
130 | 130 | * @return void |
@@ -282,6 +282,17 @@ discard block |
||
282 | 282 | ); |
283 | 283 | } |
284 | 284 | |
285 | + /** |
|
286 | + * @param string $sha |
|
287 | + * @param string $tree |
|
288 | + * @param string $author |
|
289 | + * @param string $committer |
|
290 | + * @param string $emailAuthor |
|
291 | + * @param string $emailCommitter |
|
292 | + * @param string $datetimeAuthor |
|
293 | + * @param string $datetimeCommitter |
|
294 | + * @param string $message |
|
295 | + */ |
|
285 | 296 | protected function doCommitTest( |
286 | 297 | Commit $commit, |
287 | 298 | $sha, |