Passed
Push — develop ( dbbcfc...bd91e4 )
by nguereza
01:41
created
src/PDF.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Generator/DOMPDFGenerator.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -71,16 +71,16 @@
 block discarded – undo
71 71
     protected Filesystem $filesystem;
72 72
 
73 73
     /**
74
-    * Whether the document already rendered call
74
+     * Whether the document already rendered call
75 75
      * mean to render() method
76
-    * @var bool
77
-    */
76
+     * @var bool
77
+     */
78 78
     protected $rendered = false;
79 79
 
80 80
     /**
81
-    * The PDF generated filename
82
-    * @var string
83
-    */
81
+     * The PDF generated filename
82
+     * @var string
83
+     */
84 84
     protected $filename = 'dompdf.pdf';
85 85
 
86 86
     /**
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
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
     /**
62 61
      * The DOMPDF instance
@@ -88,8 +87,7 @@  discard block
 block discarded – undo
88 87
      * @param Dompdf $dompdf
89 88
      * @param Filesystem $filesystem
90 89
      */
91
-    public function __construct(Dompdf $dompdf, Filesystem $filesystem)
92
-    {
90
+    public function __construct(Dompdf $dompdf, Filesystem $filesystem) {
93 91
         $this->dompdf = $dompdf;
94 92
         $this->filesystem = $filesystem;
95 93
     }
Please login to merge, or discard this patch.
src/PDFGeneratorInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@
 block discarded – undo
50 50
  * @class PDFGeneratorInterface
51 51
  * @package Platine\PDF
52 52
  */
53
-interface PDFGeneratorInterface
54
-{
53
+interface PDFGeneratorInterface {
55 54
 
56 55
     /**
57 56
      * Generate PDF document
Please login to merge, or discard this patch.