Code Duplication    Length = 10-10 lines in 2 locations

src/PhpSpreadsheet/Writer/Xls/Worksheet.php 2 locations

@@ 807-816 (lines=10) @@
804
     * @param int $col Zero indexed column
805
     * @param mixed $xfIndex The XF format index
806
     */
807
    public function writeBlank($row, $col, $xfIndex)
808
    {
809
        $record = 0x0201; // Record identifier
810
        $length = 0x0006; // Number of bytes to follow
811
812
        $header = pack('vv', $record, $length);
813
        $data = pack('vvv', $row, $col, $xfIndex);
814
        $this->append($header . $data);
815
816
        return 0;
817
    }
818
819
    /**
@@ 828-837 (lines=10) @@
825
     * @param bool $isError Error or Boolean?
826
     * @param int $xfIndex
827
     */
828
    private function writeBoolErr($row, $col, $value, $isError, $xfIndex)
829
    {
830
        $record = 0x0205;
831
        $length = 8;
832
833
        $header = pack('vv', $record, $length);
834
        $data = pack('vvvCC', $row, $col, $xfIndex, $value, $isError);
835
        $this->append($header . $data);
836
837
        return 0;
838
    }
839
840
    /**