@@ -53,8 +53,7 @@ discard block |
||
| 53 | 53 | * @class DOMPDFGenerator |
| 54 | 54 | * @package Platine\PDF\Generator |
| 55 | 55 | */ |
| 56 | -class DOMPDFGenerator implements PDFGeneratorInterface |
|
| 57 | -{ |
|
| 56 | +class DOMPDFGenerator implements PDFGeneratorInterface { |
|
| 58 | 57 | |
| 59 | 58 | /** |
| 60 | 59 | * The DOMPDF instance |
@@ -66,8 +65,7 @@ discard block |
||
| 66 | 65 | * Create new instance |
| 67 | 66 | * @param Dompdf $dompdf |
| 68 | 67 | */ |
| 69 | - public function __construct(Dompdf $dompdf) |
|
| 70 | - { |
|
| 68 | + public function __construct(Dompdf $dompdf) { |
|
| 71 | 69 | $this->dompdf = $dompdf; |
| 72 | 70 | } |
| 73 | 71 | |
@@ -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 | /** |
| 57 | 56 | * The generator instance to use |
@@ -64,8 +63,7 @@ discard block |
||
| 64 | 63 | * |
| 65 | 64 | * @param PDFGeneratorInterface $generator |
| 66 | 65 | */ |
| 67 | - public function __construct(PDFGeneratorInterface $generator) |
|
| 68 | - { |
|
| 66 | + public function __construct(PDFGeneratorInterface $generator) { |
|
| 69 | 67 | $this->generator = $generator; |
| 70 | 68 | } |
| 71 | 69 | |
@@ -50,8 +50,7 @@ |
||
| 50 | 50 | * @class PDFGeneratorInterface |
| 51 | 51 | * @package Platine\PDF |
| 52 | 52 | */ |
| 53 | -interface PDFGeneratorInterface |
|
| 54 | -{ |
|
| 53 | +interface PDFGeneratorInterface { |
|
| 55 | 54 | |
| 56 | 55 | |
| 57 | 56 | } |