Completed
Push — master ( 24da9e...18bd75 )
by Josh
05:16
created
lib/Caxy/HtmlDiff/ListDiff/DiffList.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 
15 15
     protected $endTag;
16 16
 
17
+    /**
18
+     * @param null|string $listType
19
+     */
17 20
     public function __construct($listType, $startTag, $endTag, $listItems = array(), $attributes = array())
18 21
     {
19 22
         $this->listType = $listType;
Please login to merge, or discard this patch.
lib/Caxy/HtmlDiff/ListDiffNew.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -217,12 +217,18 @@  discard block
 block discarded – undo
217 217
         return $diffList;
218 218
     }
219 219
 
220
+    /**
221
+     * @param string $type
222
+     */
220 223
     protected function isOpeningListTag($word, $type = null)
221 224
     {
222 225
         $filter = $type !== null ? array('<' . $type) : array('<ul', '<ol', '<dl');
223 226
         return in_array(substr($word, 0, 3), $filter);
224 227
     }
225 228
 
229
+    /**
230
+     * @param string $type
231
+     */
226 232
     protected function isClosingListTag($word, $type = null)
227 233
     {
228 234
         $filter = $type !== null ? array('</' . $type) : array('</ul', '</ol', '</dl');
@@ -230,6 +236,9 @@  discard block
 block discarded – undo
230 236
         return in_array(substr($word, 0, 4), $filter);
231 237
     }
232 238
 
239
+    /**
240
+     * @param string $type
241
+     */
233 242
     protected function isOpeningListItemTag($word, $type = null)
234 243
     {
235 244
         $filter = $type !== null ? array('<' . $type) : array('<li', '<dd', '<dt');
@@ -237,6 +246,9 @@  discard block
 block discarded – undo
237 246
         return in_array(substr($word, 0, 3), $filter);
238 247
     }
239 248
 
249
+    /**
250
+     * @param string $type
251
+     */
240 252
     protected function isClosingListItemTag($word, $type = null)
241 253
     {
242 254
         $filter = $type !== null ? array('</' . $type) : array('</li', '</dd', '</dt');
Please login to merge, or discard this patch.