@@ -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; |
@@ -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); |
@@ -18,6 +18,9 @@ |
||
18 | 18 | */ |
19 | 19 | abstract class AbstractRenderer |
20 | 20 | { |
21 | + /** |
|
22 | + * @param History $value |
|
23 | + */ |
|
21 | 24 | public function setHistory($value) |
22 | 25 | { |
23 | 26 | $this->_history = $value; |
@@ -46,6 +46,9 @@ |
||
46 | 46 | return $this->renderObjects('renderLink', $this->getHistory()->getLinks()); |
47 | 47 | } |
48 | 48 | |
49 | + /** |
|
50 | + * @param string $method |
|
51 | + */ |
|
49 | 52 | public function renderObjects($method, $objects) |
50 | 53 | { |
51 | 54 | $res = []; |