Completed
Pull Request — master (#158)
by
unknown
01:52
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/MainCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param bool $bare
58 58
      *
59 59
      * @throws \RuntimeException
60
-     * @return MainCommand
60
+     * @return string
61 61
      */
62 62
     public function init($bare = false)
63 63
     {
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.
src/GitElephant/Command/SubCommandCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
         $this->orderedSubjects = null;
59 59
     }
60 60
 
61
+    /**
62
+     * @param string $subject
63
+     */
61 64
     protected function addCommandSubject($subject)
62 65
     {
63 66
         $this->orderedSubjects[] = $subject;
Please login to merge, or discard this patch.
tests/GitElephant/Status/StatusTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
     }
187 187
 
188 188
     /**
189
-     * @param mixed $subject
189
+     * @param \PhpCollection\Sequence $subject
190 190
      */
191 191
     private function assertInterfaces($subject)
192 192
     {
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/Branch.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
     /**
109 109
      * @param \GitElephant\Repository $repository repository instance
110
-     * @param string|TreeishInterface $name       branch name
110
+     * @param string $name       branch name
111 111
      * @param bool                    $create     like checkout -b, create a branch and check it out
112 112
      *
113 113
      * @throws \RuntimeException
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      * @param string $branchString branch line output
197 197
      *
198 198
      * @throws \InvalidArgumentException
199
-     * @return array
199
+     * @return Repository
200 200
      */
201 201
     public static function getMatches(string $branchString)
202 202
     {
Please login to merge, or discard this patch.