Code Duplication    Length = 10-10 lines in 2 locations

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

@@ 820-829 (lines=10) @@
817
     * @param int $col Zero indexed column
818
     * @param mixed $xfIndex The XF format index
819
     */
820
    public function writeBlank($row, $col, $xfIndex)
821
    {
822
        $record = 0x0201; // Record identifier
823
        $length = 0x0006; // Number of bytes to follow
824
825
        $header = pack('vv', $record, $length);
826
        $data = pack('vvv', $row, $col, $xfIndex);
827
        $this->append($header . $data);
828
829
        return 0;
830
    }
831
832
    /**
@@ 841-850 (lines=10) @@
838
     * @param bool $isError Error or Boolean?
839
     * @param int $xfIndex
840
     */
841
    private function writeBoolErr($row, $col, $value, $isError, $xfIndex)
842
    {
843
        $record = 0x0205;
844
        $length = 8;
845
846
        $header = pack('vv', $record, $length);
847
        $data = pack('vvvCC', $row, $col, $xfIndex, $value, $isError);
848
        $this->append($header . $data);
849
850
        return 0;
851
    }
852
853
    /**