@@ -111,6 +111,9 @@ discard block |
||
111 | 111 | $this->findTag($tag)->setDate($date); |
112 | 112 | } |
113 | 113 | |
114 | + /** |
|
115 | + * @param string $tag |
|
116 | + */ |
|
114 | 117 | public function addNote($tag, $note) |
115 | 118 | { |
116 | 119 | $this->findTag($tag)->findNote($note); |
@@ -126,12 +129,21 @@ discard block |
||
126 | 129 | $this->_hashes[(string) $hash] = $label; |
127 | 130 | } |
128 | 131 | |
132 | + /** |
|
133 | + * @param string $tag |
|
134 | + * @param string $note |
|
135 | + */ |
|
129 | 136 | public function addCommit($tag, $note, $hash, $label = null) |
130 | 137 | { |
131 | 138 | $this->addHash($hash, $label); |
132 | 139 | $this->findTag($tag)->findNote($note)->findCommit($hash)->setLabel($label); |
133 | 140 | } |
134 | 141 | |
142 | + /** |
|
143 | + * @param string $tag |
|
144 | + * @param string $note |
|
145 | + * @param string $hash |
|
146 | + */ |
|
135 | 147 | public function addComment($tag, $note, $hash, $text = null) |
136 | 148 | { |
137 | 149 | $this->findTag($tag)->findNote($note)->findCommit($hash)->addComment($text); |