Code Duplication    Length = 7-7 lines in 2 locations

web_interface/astpp/application/libraries/html2pdf/_class/parsingCss.class.php 2 locations

@@ 1208-1214 (lines=7) @@
1205
     * @access protected
1206
     * @return float $x
1207
     */
1208
    protected function _getLastAbsoluteX()
1209
    {
1210
        for ($k = count($this->table) - 1; $k >= 0; $k--) {
1211
            if ($this->table[$k]['x'] && $this->table[$k]['position']) return $this->table[$k]['x'];
1212
        }
1213
        return $this->_pdf->getlMargin();
1214
    }
1215
1216
    /**
1217
     * get the last absolute Y
@@ 1222-1228 (lines=7) @@
1219
     * @access protected
1220
     * @return float $y
1221
     */
1222
    protected function _getLastAbsoluteY()
1223
    {
1224
        for ($k = count($this->table) - 1; $k >= 0; $k--) {
1225
            if ($this->table[$k]['y'] && $this->table[$k]['position']) return $this->table[$k]['y'];
1226
        }
1227
        return $this->_pdf->gettMargin();
1228
    }
1229
1230
    /**
1231
     * get the CSS properties of the current tag