Completed
Push — master ( 3862ca...808823 )
by Andrii
02:33
created
src/history/Commit.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -99,6 +99,9 @@  discard block
 block discarded – undo
99 99
         return $this->_comments;
100 100
     }
101 101
 
102
+    /**
103
+     * @param string $value
104
+     */
102 105
     public function setDate($value)
103 106
     {
104 107
         $timestamp = strtotime($value);
@@ -113,6 +116,9 @@  discard block
 block discarded – undo
113 116
         return $this->_date ? date('Y-m-d', $this->_date) : null;
114 117
     }
115 118
 
119
+    /**
120
+     * @param string $value
121
+     */
116 122
     public function setSubject($value)
117 123
     {
118 124
         $this->_subject = $value;
@@ -124,6 +130,9 @@  discard block
 block discarded – undo
124 130
         return $this->_subject;
125 131
     }
126 132
 
133
+    /**
134
+     * @param string $value
135
+     */
127 136
     public function setAuthor($value)
128 137
     {
129 138
         $this->_author = $value;
Please login to merge, or discard this patch.
src/history/GitMerger.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
  */
22 22
 class GitMerger extends Builder
23 23
 {
24
+    /**
25
+     * @param History $history
26
+     */
24 27
     public function mergeTo($history)
25 28
     {
26 29
         $this->setHistory($history);
Please login to merge, or discard this patch.
src/history/History.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -139,11 +139,18 @@
 block discarded – undo
139 139
         $this->findTag($tag)->setDate($date);
140 140
     }
141 141
 
142
+    /**
143
+     * @param string $tag
144
+     */
142 145
     public function findNote($tag, $note)
143 146
     {
144 147
         $this->findTag($tag)->findNote($note);
145 148
     }
146 149
 
150
+    /**
151
+     * @param string $tag
152
+     * @param string $note
153
+     */
147 154
     public function findCommit($tag, $note, $hash, $pre = false)
148 155
     {
149 156
         $this->addHash($hash);
Please login to merge, or discard this patch.