Code Duplication    Length = 4-5 lines in 4 locations

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

@@ 808-812 (lines=5) @@
805
                    }
806
                    break;
807
808
                case 'border-top-style':
809
                    if (in_array($val, array('solid', 'dotted', 'dashed'))) {
810
                        $this->value['border']['t']['type'] = $val;
811
                    }
812
                    break;
813
814
                case 'border-right-style':
815
                    if (in_array($val, array('solid', 'dotted', 'dashed'))) {
@@ 814-818 (lines=5) @@
811
                    }
812
                    break;
813
814
                case 'border-right-style':
815
                    if (in_array($val, array('solid', 'dotted', 'dashed'))) {
816
                        $this->value['border']['r']['type'] = $val;
817
                    }
818
                    break;
819
820
                case 'border-bottom-style':
821
                    if (in_array($val, array('solid', 'dotted', 'dashed'))) {
@@ 820-824 (lines=5) @@
817
                    }
818
                    break;
819
820
                case 'border-bottom-style':
821
                    if (in_array($val, array('solid', 'dotted', 'dashed'))) {
822
                        $this->value['border']['b']['type'] = $val;
823
                    }
824
                    break;
825
826
                case 'border-left-style':
827
                    if (in_array($val, array('solid', 'dotted', 'dashed'))) {
@@ 826-829 (lines=4) @@
823
                    }
824
                    break;
825
826
                case 'border-left-style':
827
                    if (in_array($val, array('solid', 'dotted', 'dashed'))) {
828
                                            $this->value['border']['l']['type'] = $val;
829
                    }
830
                    break;
831
832
                case 'border-color':