@@ -108,6 +108,9 @@ discard block |
||
108 | 108 | return $this->_comments; |
109 | 109 | } |
110 | 110 | |
111 | + /** |
|
112 | + * @param string $value |
|
113 | + */ |
|
111 | 114 | public function setDate($value) |
112 | 115 | { |
113 | 116 | $timestamp = strtotime($value); |
@@ -123,6 +126,9 @@ discard block |
||
123 | 126 | return $this->_date ? date('Y-m-d', $this->_date) : null; |
124 | 127 | } |
125 | 128 | |
129 | + /** |
|
130 | + * @param string $value |
|
131 | + */ |
|
126 | 132 | public function setSubject($value) |
127 | 133 | { |
128 | 134 | $this->_subject = $value; |
@@ -130,11 +136,17 @@ discard block |
||
130 | 136 | return $this; |
131 | 137 | } |
132 | 138 | |
139 | + /** |
|
140 | + * @return string |
|
141 | + */ |
|
133 | 142 | public function getSubject() |
134 | 143 | { |
135 | 144 | return $this->_subject; |
136 | 145 | } |
137 | 146 | |
147 | + /** |
|
148 | + * @param string $value |
|
149 | + */ |
|
138 | 150 | public function setAuthor($value) |
139 | 151 | { |
140 | 152 | $this->_author = $value; |
@@ -82,6 +82,9 @@ |
||
82 | 82 | return null; |
83 | 83 | } |
84 | 84 | |
85 | + /** |
|
86 | + * @param string $str |
|
87 | + */ |
|
85 | 88 | public function matchNote($str) |
86 | 89 | { |
87 | 90 | return strpos($str, ' ') ? $str : null; |
@@ -76,6 +76,11 @@ discard block |
||
76 | 76 | return isset($this->_changelog[$key]) ? $this->_changelog[$key] : null; |
77 | 77 | } |
78 | 78 | |
79 | + /** |
|
80 | + * @param string $key |
|
81 | + * |
|
82 | + * @return string |
|
83 | + */ |
|
79 | 84 | public function getDest($dest = null, $key = null) |
80 | 85 | { |
81 | 86 | if ($dest === 'changelog') { |
@@ -123,6 +128,12 @@ discard block |
||
123 | 128 | return $this->_options; |
124 | 129 | } |
125 | 130 | |
131 | + /** |
|
132 | + * @param string $key |
|
133 | + * @param string $dest |
|
134 | + * |
|
135 | + * @return callable |
|
136 | + */ |
|
126 | 137 | public function getOption($key, $dest = null, $format = null) |
127 | 138 | { |
128 | 139 | if ($format === null) { |
@@ -57,6 +57,9 @@ |
||
57 | 57 | return $this->renderObjects('renderLink', $links); |
58 | 58 | } |
59 | 59 | |
60 | + /** |
|
61 | + * @param string $method |
|
62 | + */ |
|
60 | 63 | public function renderObjects($method, $objects, $sparse = false) |
61 | 64 | { |
62 | 65 | $res = []; |