Code Duplication    Length = 10-10 lines in 2 locations

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

@@ 735-744 (lines=10) @@
732
     * @param int $col Zero indexed column
733
     * @param mixed $xfIndex The XF format index
734
     */
735
    public function writeBlank($row, $col, $xfIndex)
736
    {
737
        $record = 0x0201; // Record identifier
738
        $length = 0x0006; // Number of bytes to follow
739
740
        $header = pack('vv', $record, $length);
741
        $data = pack('vvv', $row, $col, $xfIndex);
742
        $this->append($header . $data);
743
744
        return 0;
745
    }
746
747
    /**
@@ 756-765 (lines=10) @@
753
     * @param bool $isError Error or Boolean?
754
     * @param int $xfIndex
755
     */
756
    private function writeBoolErr($row, $col, $value, $isError, $xfIndex)
757
    {
758
        $record = 0x0205;
759
        $length = 8;
760
761
        $header = pack('vv', $record, $length);
762
        $data = pack('vvvCC', $row, $col, $xfIndex, $value, $isError);
763
        $this->append($header . $data);
764
765
        return 0;
766
    }
767
768
    /**