Skip to content

Commit

Permalink
Fix BaseDrawing code style error.
Browse files Browse the repository at this point in the history
  • Loading branch information
naotake51 committed Jan 26, 2022
1 parent 408d862 commit f387125
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/PhpSpreadsheet/Writer/Xlsx/Drawing.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ public function writeChart(XMLWriter $objWriter, \PhpOffice\PhpSpreadsheet\Chart
public function writeDrawing(XMLWriter $objWriter, BaseDrawing $drawing, $relationId = -1, $hlinkClickId = null): void
{
if ($relationId >= 0) {

$isTwoCellAnchor = $drawing->getCoordinates2() !== null;

if ($isTwoCellAnchor) {
// xdr:twoCellAnchor
$objWriter->startElement('xdr:twoCellAnchor');
Expand Down

0 comments on commit f387125

Please sign in to comment.