Completed
Push — develop ( b29d0d...9c2be0 )
by
unknown
16s queued 11s
created
src/GitElephant/Command/DiffCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      *
48 48
      * @param TreeishInterface      $of   the reference to diff
49 49
      * @param TreeishInterface|null $with the source reference to diff with $of, if not specified is the current HEAD
50
-     * @param null                  $path the path to diff, if not specified the full repository
50
+     * @param null|string                  $path the path to diff, if not specified the full repository
51 51
      *
52 52
      * @throws \RuntimeException
53 53
      * @return string
Please login to merge, or discard this patch.
src/GitElephant/Command/LsTreeCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     /**
48 48
      * build a ls-tree command
49 49
      *
50
-     * @param string|Branch $ref The reference to build the tree from
50
+     * @param Branch $ref The reference to build the tree from
51 51
      *
52 52
      * @throws \RuntimeException
53 53
      * @return string
Please login to merge, or discard this patch.
src/GitElephant/Command/ShowCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * build the show command
46 46
      *
47
-     * @param string|\GitElephant\Objects\Commit $ref the reference for the show command
47
+     * @param string $ref the reference for the show command
48 48
      *
49 49
      * @throws \RuntimeException
50 50
      * @return string
Please login to merge, or discard this patch.
tests/GitElephant/Command/ResetCommandTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 
9 9
 namespace GitElephant\Command;
10 10
 
11
-use GitElephant\Objects\Commit;
12 11
 use \GitElephant\TestCase;
13 12
 
14 13
 class ResetCommandTest extends TestCase
Please login to merge, or discard this patch.
src/GitElephant/Command/TagCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @param string      $name       The new tag name
49 49
      * @param string|null $startPoint the new tag start point.
50
-     * @param null        $message    the tag message
50
+     * @param null|string        $message    the tag message
51 51
      *
52 52
      * @throws \RuntimeException
53 53
      * @return string the command
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Delete a tag
104 104
      *
105
-     * @param string|Tag $tag The name of tag, or the Tag instance to delete
105
+     * @param Tag $tag The name of tag, or the Tag instance to delete
106 106
      *
107 107
      * @throws \RuntimeException
108 108
      * @return string the command
Please login to merge, or discard this patch.
src/GitElephant/Objects/Diff/Diff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @param \GitElephant\Repository                 $repository repository
57 57
      * @param null|string|\GitElephant\Objects\Commit $commit1    first commit
58
-     * @param null|string|\GitElephant\Objects\Commit $commit2    second commit
58
+     * @param null|string $commit2    second commit
59 59
      * @param null|string                             $path       path to consider
60 60
      *
61 61
      * @throws \RuntimeException
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      *
91 91
      * @param null $commit1 commit 1
92 92
      * @param null $commit2 commit 2
93
-     * @param null $path    path
93
+     * @param null|string $path    path
94 94
      *
95 95
      * @throws \RuntimeException
96 96
      * @throws \Symfony\Component\Process\Exception\InvalidArgumentException
Please login to merge, or discard this patch.
src/GitElephant/Objects/LogRange.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * @param string                  $refEnd      ending reference
55 55
      * @param null                    $path        path
56 56
      * @param int                     $limit       limit
57
-     * @param null                    $offset      offset
57
+     * @param null|integer                    $offset      offset
58 58
      * @param boolean                 $firstParent first parent
59 59
      *
60 60
      * @throws \RuntimeException
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * @param string  $refEnd      treeish reference
82 82
      * @param string  $path        path
83 83
      * @param int     $limit       limit
84
-     * @param string  $offset      offset
84
+     * @param integer  $offset      offset
85 85
      * @param boolean $firstParent first parent
86 86
      *
87 87
      * @throws \RuntimeException
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
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
     /**
166 166
      * @param string $line
167 167
      *
168
-     * @return mixed
168
+     * @return string[]
169 169
      */
170 170
     protected function splitStatusLine(string $line)
171 171
     {
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
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     /**
79 79
      * Class constructor
80 80
      *
81
-     * @param array $lines output lines from git binary
81
+     * @param string $lines output lines from git binary
82 82
      *
83 83
      * @throws \Exception
84 84
      */
Please login to merge, or discard this patch.