Skip to content

Commit

Permalink
Update Pdf.php
Browse files Browse the repository at this point in the history
Correção para a exceção gerada no PHP 8.2 - Creation of dynamic property NFePHP\DA\Legacy\Pdf::$angle is deprecated
  • Loading branch information
erickmff authored Oct 25, 2023
1 parent 1aa5e05 commit 9fb9457
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Legacy/Pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Pdf extends Fpdf
private $setTo = ["A" => 0, "B" => 0, "C" => 0]; // converter para
private $jStart = ["A"=> 103, "B"=> 104, "C" => 105]; // Caracteres de seleção do grupo 128
private $jSwap = ["A" => 101, "B" => 100, "C" => 99]; // Caracteres de troca de grupo
private $angle = 0;

public function __construct($orientation = 'P', $unit = 'mm', $format = 'A4')
{
Expand Down

0 comments on commit 9fb9457

Please sign in to comment.