@@ -55,8 +55,7 @@ discard block |
||
| 55 | 55 | * @class DOMPDFGenerator |
| 56 | 56 | * @package Platine\PDF\Generator |
| 57 | 57 | */ |
| 58 | -class DOMPDFGenerator implements PDFGeneratorInterface |
|
| 59 | -{ |
|
| 58 | +class DOMPDFGenerator implements PDFGeneratorInterface { |
|
| 60 | 59 | /** |
| 61 | 60 | * Whether the document already rendered call |
| 62 | 61 | * mean to render() method |
@@ -75,8 +74,7 @@ discard block |
||
| 75 | 74 | * @param Dompdf $dompdf |
| 76 | 75 | * @param Filesystem $filesystem |
| 77 | 76 | */ |
| 78 | - public function __construct(protected Dompdf $dompdf, protected Filesystem $filesystem) |
|
| 79 | - { |
|
| 77 | + public function __construct(protected Dompdf $dompdf, protected Filesystem $filesystem) { |
|
| 80 | 78 | } |
| 81 | 79 | |
| 82 | 80 | /** |
@@ -50,8 +50,7 @@ discard block |
||
| 50 | 50 | * @class PDF |
| 51 | 51 | * @package Platine\PDF |
| 52 | 52 | */ |
| 53 | -class PDF |
|
| 54 | -{ |
|
| 53 | +class PDF { |
|
| 55 | 54 | /** |
| 56 | 55 | * The content to use to generate PDF document |
| 57 | 56 | * @var string |
@@ -81,8 +80,7 @@ discard block |
||
| 81 | 80 | * |
| 82 | 81 | * @param PDFGeneratorInterface $generator |
| 83 | 82 | */ |
| 84 | - public function __construct(protected PDFGeneratorInterface $generator) |
|
| 85 | - { |
|
| 83 | + public function __construct(protected PDFGeneratorInterface $generator) { |
|
| 86 | 84 | } |
| 87 | 85 | |
| 88 | 86 | /** |