Skip to content

Commit

Permalink
Improved style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
janiscw committed Apr 26, 2024
1 parent 388ad08 commit 889d35a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Writers/PdflibPdfWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ public function nextLine(?float $spacing = null)
/**
* Set the line offset.
*
* @param float $spacing
* @param float $spacing
* @return $this
*/
public function setLineSpacing(float $spacing): static
Expand Down
2 changes: 1 addition & 1 deletion tests/PdfWriterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ public function can_set_line_spacing()
$this->writer->setLineSpacing(2);
$this->writer->nextLine();

$this->assertEquals(-20, $this->writer->getYPosition('pt'));;
$this->assertEquals(-20, $this->writer->getYPosition('pt'));

$this->writer->finishDocument();
}
Expand Down

0 comments on commit 889d35a

Please sign in to comment.