Code Duplication    Length = 10-10 lines in 2 locations

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

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