Completed
Push — master ( 85c97a...a6409c )
by Matteo
16:08 queued 07:17
created
src/GitElephant/Repository.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * create a repository from a remote git url, or a local filesystem
145 145
      * and save it in a temp folder
146 146
      *
147
-     * @param string|Repository $git            the git remote url, or the filesystem path
147
+     * @param string $git            the git remote url, or the filesystem path
148 148
      * @param null              $repositoryPath path
149 149
      * @param GitBinary         $binary         binary
150 150
      * @param null              $name           repository name
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     /**
193 193
      * Stage the working tree content
194 194
      *
195
-     * @param string|Object $path the path to store
195
+     * @param string $path the path to store
196 196
      *
197 197
      * @throws \RuntimeException
198 198
      * @throws \Symfony\Component\Process\Exception\LogicException
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     /**
211 211
      * Unstage a tree content
212 212
      *
213
-     * @param string|Object $path the path to unstage
213
+     * @param string $path the path to unstage
214 214
      *
215 215
      * @throws \RuntimeException
216 216
      * @throws \Symfony\Component\Process\Exception\LogicException
@@ -228,8 +228,8 @@  discard block
 block discarded – undo
228 228
     /**
229 229
      * Move a file/directory
230 230
      *
231
-     * @param string|Object $from source path
232
-     * @param string|Object $to   destination path
231
+     * @param string $from source path
232
+     * @param string $to   destination path
233 233
      *
234 234
      * @throws \RuntimeException
235 235
      * @throws \Symfony\Component\Process\Exception\LogicException
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
     /**
249 249
      * Remove a file/directory
250 250
      *
251
-     * @param string|Object $path      the path to remove
251
+     * @param string $path      the path to remove
252 252
      * @param bool          $recursive recurse
253 253
      * @param bool          $force     force
254 254
      *
@@ -781,7 +781,7 @@  discard block
 block discarded – undo
781 781
      *
782 782
      * @throws \RuntimeException
783 783
      * @throws \Symfony\Component\Process\Exception\RuntimeException
784
-     * @return int|void
784
+     * @return integer
785 785
      */
786 786
     public function countCommits($start = 'HEAD')
787 787
     {
@@ -795,7 +795,7 @@  discard block
 block discarded – undo
795 795
      *
796 796
      * @param string|TreeishInterface|array $ref         the treeish to check, as a string, as an object or as an array
797 797
      * @param string|Object                 $path        the physical path to the tree relative to the repository root
798
-     * @param int|null                      $limit       limit to n entries
798
+     * @param integer                      $limit       limit to n entries
799 799
      * @param int|null                      $offset      skip n entries
800 800
      * @param boolean|false                 $firstParent skip commits brought in to branch by a merge
801 801
      *
@@ -812,7 +812,7 @@  discard block
 block discarded – undo
812 812
      * @param string        $refStart
813 813
      * @param string        $refEnd
814 814
      * @param string|Object $path        the physical path to the tree relative to the repository root
815
-     * @param int|null      $limit       limit to n entries
815
+     * @param integer      $limit       limit to n entries
816 816
      * @param int|null      $offset      skip n entries
817 817
      * @param boolean|false $firstParent skip commits brought in to branch by a merge
818 818
      *
@@ -837,7 +837,7 @@  discard block
 block discarded – undo
837 837
      * Get a log for an object
838 838
      *
839 839
      * @param \GitElephant\Objects\Object             $obj    The Object instance
840
-     * @param null|string|\GitElephant\Objects\Branch $branch The branch to read from
840
+     * @param string|null $branch The branch to read from
841 841
      * @param int                                     $limit  Limit to n entries
842 842
      * @param int|null                                $offset Skip n entries
843 843
      *
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
      * Get a Diff object for a commit with its parent, by default the diff is between the current head and its parent
907 907
      *
908 908
      * @param \GitElephant\Objects\Commit|string      $commit1 A TreeishInterface instance
909
-     * @param \GitElephant\Objects\Commit|string|null $commit2 A TreeishInterface instance
909
+     * @param Commit $commit2 A TreeishInterface instance
910 910
      * @param null|string|Object                      $path    The path to get the diff for or a Object instance
911 911
      *
912 912
      * @throws \RuntimeException
@@ -922,7 +922,7 @@  discard block
 block discarded – undo
922 922
      * Clone a repository
923 923
      *
924 924
      * @param string $url the repository url (i.e. git://github.com/matteosister/GitElephant.git)
925
-     * @param null   $to  where to clone the repo
925
+     * @param string|null   $to  where to clone the repo
926 926
      *
927 927
      * @throws \RuntimeException
928 928
      * @throws \Symfony\Component\Process\Exception\LogicException
@@ -1058,7 +1058,7 @@  discard block
 block discarded – undo
1058 1058
      * output a node content as an array of lines
1059 1059
      *
1060 1060
      * @param \GitElephant\Objects\Object                  $obj     The Object of type BLOB
1061
-     * @param \GitElephant\Objects\TreeishInterface|string $treeish A treeish object
1061
+     * @param null|Branch $treeish A treeish object
1062 1062
      *
1063 1063
      * @throws \RuntimeException
1064 1064
      * @throws \Symfony\Component\Process\Exception\LogicException
Please login to merge, or discard this patch.