Completed
Push — master ( c1a738...2c88a4 )
by
unknown
02:35 queued 01:13
created
src/GitElephant/Command/TagCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
     /**
105 105
      * Delete a tag
106 106
      *
107
-     * @param string|Tag $tag The name of tag, or the Tag instance to delete
107
+     * @param Tag $tag The name of tag, or the Tag instance to delete
108 108
      *
109 109
      * @throws \RuntimeException
110 110
      * @return string the command
Please login to merge, or discard this patch.
src/GitElephant/Objects/Diff/DiffChunk.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
     /**
280 280
      * Iterator interface
281 281
      *
282
-     * @return mixed
282
+     * @return DiffChunkLine
283 283
      */
284 284
     public function current()
285 285
     {
Please login to merge, or discard this patch.
src/GitElephant/Objects/Tree.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -448,7 +448,7 @@
 block discarded – undo
448 448
      *
449 449
      * @param int $offset offset
450 450
      *
451
-     * @return NodeObject|null
451
+     * @return TreeObject|null
452 452
      */
453 453
     public function offsetGet($offset)
454 454
     {
Please login to merge, or discard this patch.
src/GitElephant/Repository.php 1 patch
Doc Comments   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      * create a repository from a remote git url, or a local filesystem
146 146
      * and save it in a temp folder
147 147
      *
148
-     * @param string|Repository $git            the git remote url, or the filesystem path
148
+     * @param string $git            the git remote url, or the filesystem path
149 149
      * @param string|null             $repositoryPath path
150 150
      * @param string|null $binary         the path to the git binary
151 151
      * @param string|null             $name           repository name
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     /**
198 198
      * Stage the working tree content
199 199
      *
200
-     * @param string|NodeObject $path the path to store
200
+     * @param string $path the path to store
201 201
      *
202 202
      * @throws \RuntimeException
203 203
      * @throws \Symfony\Component\Process\Exception\LogicException
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     /**
216 216
      * Unstage a tree content
217 217
      *
218
-     * @param string|NodeObject $path the path to unstage
218
+     * @param string $path the path to unstage
219 219
      *
220 220
      * @throws \RuntimeException
221 221
      * @throws \Symfony\Component\Process\Exception\LogicException
@@ -233,8 +233,8 @@  discard block
 block discarded – undo
233 233
     /**
234 234
      * Move a file/directory
235 235
      *
236
-     * @param string|NodeObject $from source path
237
-     * @param string|NodeObject $to   destination path
236
+     * @param string $from source path
237
+     * @param string $to   destination path
238 238
      *
239 239
      * @throws \RuntimeException
240 240
      * @throws \Symfony\Component\Process\Exception\LogicException
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
     /**
254 254
      * Remove a file/directory
255 255
      *
256
-     * @param string|NodeObject $path      the path to remove
256
+     * @param string $path      the path to remove
257 257
      * @param bool              $recursive recurse
258 258
      * @param bool              $force     force
259 259
      *
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
     }
336 336
 
337 337
     /**
338
-     * @param TreeishInterface|Commit|string $arg
338
+     * @param Commit $arg
339 339
      * @param array                          $options
340 340
      */
341 341
     public function reset($arg, $options): void
@@ -884,7 +884,7 @@  discard block
 block discarded – undo
884 884
      * Get a log for an object
885 885
      *
886 886
      * @param \GitElephant\Objects\NodeObject         $obj    The Object instance
887
-     * @param null|string|\GitElephant\Objects\Branch $branch The branch to read from
887
+     * @param string|null $branch The branch to read from
888 888
      * @param int                                     $limit  Limit to n entries
889 889
      * @param int|null                                $offset Skip n entries
890 890
      *
@@ -958,8 +958,8 @@  discard block
 block discarded – undo
958 958
     /**
959 959
      * Get a Diff object for a commit with its parent, by default the diff is between the current head and its parent
960 960
      *
961
-     * @param \GitElephant\Objects\Commit|TreeishInterface|string|null $commit1 The first commit to compare
962
-     * @param \GitElephant\Objects\Commit|TreeishInterface|string|null $commit2 The commit to compare to
961
+     * @param Commit $commit1 The first commit to compare
962
+     * @param Commit $commit2 The commit to compare to
963 963
      * @param null|string|NodeObject                  $path    The path to get the diff for or a Object instance
964 964
      *
965 965
      * @throws \RuntimeException
@@ -1128,7 +1128,7 @@  discard block
 block discarded – undo
1128 1128
      * output a node content as an array of lines
1129 1129
      *
1130 1130
      * @param \GitElephant\Objects\NodeObject              $obj     The Object of type BLOB
1131
-     * @param \GitElephant\Objects\TreeishInterface|string $treeish A treeish object
1131
+     * @param null|Branch $treeish A treeish object
1132 1132
      *
1133 1133
      * @throws \RuntimeException
1134 1134
      * @throws \Symfony\Component\Process\Exception\LogicException
@@ -1347,7 +1347,7 @@  discard block
 block discarded – undo
1347 1347
     /**
1348 1348
      * Shows details for a stash
1349 1349
      *
1350
-     * @param string|int $stash
1350
+     * @param integer $stash
1351 1351
      *
1352 1352
      * @return string
1353 1353
      */
@@ -1363,7 +1363,7 @@  discard block
 block discarded – undo
1363 1363
     /**
1364 1364
      * Drops a stash
1365 1365
      *
1366
-     * @param string|int $stash
1366
+     * @param integer $stash
1367 1367
      */
1368 1368
     public function stashDrop($stash): void
1369 1369
     {
@@ -1375,7 +1375,7 @@  discard block
 block discarded – undo
1375 1375
     /**
1376 1376
      * Applies a stash
1377 1377
      *
1378
-     * @param string|int $stash
1378
+     * @param integer $stash
1379 1379
      * @param boolean $index
1380 1380
      */
1381 1381
     public function stashApply($stash, bool $index = false): void
@@ -1388,7 +1388,7 @@  discard block
 block discarded – undo
1388 1388
     /**
1389 1389
      *  Applies a stash, then removes it from the stash
1390 1390
      *
1391
-     * @param string|int $stash
1391
+     * @param integer $stash
1392 1392
      * @param boolean $index
1393 1393
      */
1394 1394
     public function stashPop($stash, bool $index = false): void
@@ -1402,7 +1402,7 @@  discard block
 block discarded – undo
1402 1402
      *  Creates and checks out a new branch named <branchname> starting from the commit at which the <stash> was originally created
1403 1403
      *
1404 1404
      * @param string $branch
1405
-     * @param string|int $stash
1405
+     * @param integer $stash
1406 1406
      */
1407 1407
     public function stashBranch(string $branch, $stash): void
1408 1408
     {
Please login to merge, or discard this patch.
src/GitElephant/Status/Status.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
      * https://www.kernel.org/pub/software/scm/git/docs/git-status.html in the output section
152 152
      *
153 153
      *
154
-     * @param array $lines
154
+     * @param string[] $lines
155 155
      */
156 156
     private function parseOutputLines(array $lines): void
157 157
     {
Please login to merge, or discard this patch.
tests/GitElephant/TestCase.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     protected $finder;
52 52
 
53 53
     /**
54
-     * @param string|int|null $name the name or index of the repository
54
+     * @param integer $name the name or index of the repository
55 55
      *
56 56
      * @return \GitElephant\Repository
57 57
      */
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      *
259 259
      * @param MockObject $repo
260
-     * @param string|array $output
260
+     * @param string[] $output
261 261
      * @return void
262 262
      */
263 263
     protected function addOutputToMockRepo(MockObject $repo, $output): void
Please login to merge, or discard this patch.