Completed
Push — master ( 808823...246322 )
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/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.
src/history/AbstractRenderer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/history/MarkdownRenderer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -46,6 +46,9 @@
 block discarded – undo
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 = [];
Please login to merge, or discard this patch.