Code Duplication    Length = 8-8 lines in 2 locations

src/PhpExcelWrapper.php 2 locations

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