Code Duplication    Length = 10-10 lines in 2 locations

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

@@ 778-787 (lines=10) @@
775
     * @param int $col    Zero indexed column
776
     * @param mixed   $xfIndex The XF format index
777
     */
778
    public function writeBlank($row, $col, $xfIndex)
779
    {
780
        $record = 0x0201; // Record identifier
781
        $length = 0x0006; // Number of bytes to follow
782
783
        $header = pack('vv', $record, $length);
784
        $data = pack('vvv', $row, $col, $xfIndex);
785
        $this->append($header . $data);
786
787
        return 0;
788
    }
789
790
    /**
@@ 799-808 (lines=10) @@
796
     * @param bool $isError Error or Boolean?
797
     * @param int $xfIndex
798
     */
799
    private function writeBoolErr($row, $col, $value, $isError, $xfIndex)
800
    {
801
        $record = 0x0205;
802
        $length = 8;
803
804
        $header = pack('vv', $record, $length);
805
        $data = pack('vvvCC', $row, $col, $xfIndex, $value, $isError);
806
        $this->append($header . $data);
807
808
        return 0;
809
    }
810
811
    /**