Code Duplication    Length = 8-8 lines in 2 locations

src/PhpExcelWrapper.php 2 locations

@@ 378-385 (lines=8) @@
375
    * typeはgetAlignHolizonalType参照
376
    * @author hagiwara
377
    */
378
    public function setAlignHolizonal($col, $row, $sheetNo, $type)
379
    {
380
        if (is_null($type)) {
381
            return;
382
        }
383
        $cellInfo = $this->cellInfo($col, $row);
384
        $this->getSheet($sheetNo)->getStyle($cellInfo)->getAlignment()->setHorizontal($this->getAlignHolizonalType($type));
385
    }
386
387
    /**
388
    * setAlignVertical
@@ 397-404 (lines=8) @@
394
    * typeはgetAlignVerticalType参照
395
    * @author hagiwara
396
    */
397
    public function setAlignVertical($col, $row, $sheetNo, $type)
398
    {
399
        if (is_null($type)) {
400
            return;
401
        }
402
        $cellInfo = $this->cellInfo($col, $row);
403
        $this->getSheet($sheetNo)->getStyle($cellInfo)->getAlignment()->setVertical($this->getAlignVerticalType($type));
404
    }
405
406
    /**
407
    * setBorder