@@ -99,6 +99,9 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -21,6 +21,9 @@ |
||
| 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); |
@@ -139,11 +139,18 @@ |
||
| 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); |