Completed
Push — master ( cc7b34...377183 )
by Ricardo
04:40
created
src/Tools/Programs/Bash.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
         return 'type -P '.$program;
36 36
     }
37 37
 
38
+    /**
39
+     * @param string $exec
40
+     */
38 41
     public function exec($exec, $sudo = false)
39 42
     {
40 43
         if ($sudo) {
Please login to merge, or discard this patch.
src/Tools/Programs/Git/Admin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -143,6 +143,7 @@
 block discarded – undo
143 143
 
144 144
     /**
145 145
      * This internal method is used to create a process object.
146
+     * @param string $command
146 147
      */
147 148
     private static function getProcess($command, array $args = array(), array $options = array())
148 149
     {
Please login to merge, or discard this patch.
src/Tools/Programs/Git/Commit.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * Constructor.
36 36
      *
37
-     * @param Fabrica\Tools\Programs\Git\Repository $repository Repository of the commit
37
+     * @param Repository $repository Repository of the commit
38 38
      * @param string                                $hash       Hash of the commit
39 39
      */
40 40
     public function __construct(Repository $repository, $hash, array $data = array())
@@ -342,6 +342,9 @@  discard block
 block discarded – undo
342 342
         return $this;
343 343
     }
344 344
 
345
+    /**
346
+     * @param string $name
347
+     */
345 348
     private function getData($name)
346 349
     {
347 350
         if (isset($this->data[$name])) {
Please login to merge, or discard this patch.
src/Tools/Programs/Git/Config/GitRepo.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,6 +87,7 @@  discard block
 block discarded – undo
87 87
      * @param  string  repository path
88 88
      * @param  bool    create if not exists?
89 89
      * @param  bool    initialize new Git repo if not exists?
90
+     * @param string $repositoryPath
90 91
      * @return void
91 92
      */
92 93
     public function set_repositoryPath($repositoryPath, $create_new = false, $_init = true)
@@ -192,6 +193,7 @@  discard block
 block discarded – undo
192 193
      *
193 194
      * @access protected
194 195
      * @param  string  command to run
196
+     * @param string $command
195 197
      * @return string
196 198
      */
197 199
     protected function run_command($command)
@@ -342,6 +344,7 @@  discard block
 block discarded – undo
342 344
      *
343 345
      * @access public
344 346
      * @param  string  source directory
347
+     * @param string $source
345 348
      * @return string
346 349
      */
347 350
     public function clone_from($source)
@@ -358,6 +361,7 @@  discard block
 block discarded – undo
358 361
      * @access public
359 362
      * @param  string  source url
360 363
      * @param  string  reference path
364
+     * @param string $source
361 365
      * @return string
362 366
      */
363 367
     public function clone_remote($source, $reference)
@@ -413,7 +417,7 @@  discard block
 block discarded – undo
413 417
      *
414 418
      * @access public
415 419
      * @param  bool    keep asterisk mark on active branch
416
-     * @return array
420
+     * @return string[]
417 421
      */
418 422
     public function list_branches($keep_asterisk = false)
419 423
     {
Please login to merge, or discard this patch.
src/Tools/Programs/Git/Diff/Diff.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
+     * @param null|string $rawDiff
47 48
      * @return Diff
48 49
      */
49 50
     public static function parse($rawDiff)
Please login to merge, or discard this patch.
src/Tools/Programs/Git/GitRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -634,6 +634,7 @@
 block discarded – undo
634 634
     /**
635 635
      * @param  string
636 636
      * @param  callback|NULL
637
+     * @param string $cmd
637 638
      * @return string[]|NULL
638 639
      * @throws GitException
639 640
      */
Please login to merge, or discard this patch.
src/Tools/Programs/Git/Hooks.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -120,6 +120,9 @@
 block discarded – undo
120 120
         unlink($this->getPath($name));
121 121
     }
122 122
 
123
+    /**
124
+     * @param string $name
125
+     */
123 126
     protected function getPath($name)
124 127
     {
125 128
         return $this->repository->getGitDir().'/hooks/'.$name;
Please login to merge, or discard this patch.
src/Tools/Programs/Git/Log.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     }
77 77
 
78 78
     /**
79
-     * @return Diff
79
+     * @return Diff\Diff
80 80
      */
81 81
     public function getDiff()
82 82
     {
Please login to merge, or discard this patch.
src/Tools/Programs/Git/PushReference.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -147,6 +147,7 @@
 block discarded – undo
147 147
     }
148 148
 
149 149
     /**
150
+     * @param string $reference
150 151
      * @return bool
151 152
      */
152 153
     protected function isZero($reference)
Please login to merge, or discard this patch.