Completed
Pull Request — master (#1529)
by Michael
05:00
created
inc/DifferenceEngine.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -226,6 +226,7 @@  discard block
 block discarded – undo
226 226
      * of the two files do not match, and likewise that the last lines do not
227 227
      * match.  The caller must trim matching lines from the beginning and end
228 228
      * of the portions it is going to specify.
229
+     * @param double $nchunks
229 230
      */
230 231
     function _diag($xoff, $xlim, $yoff, $ylim, $nchunks) {
231 232
         $flip = false;
@@ -336,6 +337,10 @@  discard block
 block discarded – undo
336 337
      *
337 338
      * Note that XLIM, YLIM are exclusive bounds.
338 339
      * All line numbers are origin-0 and discarded lines are not counted.
340
+     * @param integer $xoff
341
+     * @param integer $xlim
342
+     * @param integer $yoff
343
+     * @param integer $ylim
339 344
      */
340 345
     function _compareseq($xoff, $xlim, $yoff, $ylim) {
341 346
         // Slide down the bottom initial diagonal.
@@ -918,6 +923,9 @@  discard block
 block discarded – undo
918 923
         $this->_tag = '';
919 924
     }
920 925
 
926
+    /**
927
+     * @param string $new_tag
928
+     */
921 929
     function _flushGroup($new_tag) {
922 930
         if ($this->_group !== '') {
923 931
             if ($this->_tag == 'mark')
@@ -1339,6 +1347,8 @@  discard block
 block discarded – undo
1339 1347
 
1340 1348
     /**
1341 1349
      * @access private
1350
+     * @param _DiffOp[] $edits1
1351
+     * @param _DiffOp[] $edits2
1342 1352
      */
1343 1353
     function _diff3($edits1, $edits2) {
1344 1354
         $edits = array();
Please login to merge, or discard this patch.