Passed
Push — develop ( da4c40...a89104 )
by nguereza
12:19
created
src/Generator/DOMPDFGenerator.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -58,16 +58,16 @@  discard block
 block discarded – undo
58 58
 class DOMPDFGenerator implements PDFGeneratorInterface
59 59
 {
60 60
     /**
61
-    * Whether the document already rendered call
61
+     * Whether the document already rendered call
62 62
      * mean to render() method
63
-    * @var bool
64
-    */
63
+     * @var bool
64
+     */
65 65
     protected $rendered = false;
66 66
 
67 67
     /**
68
-    * The PDF generated filename
69
-    * @var string
70
-    */
68
+     * The PDF generated filename
69
+     * @var string
70
+     */
71 71
     protected $filename = 'dompdf.pdf';
72 72
 
73 73
     /**
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         $this->checkIfAlreadyRendered();
135 135
 
136 136
         $this->filesystem->file($this->filename)
137
-                         ->write($this->raw());
137
+                            ->write($this->raw());
138 138
     }
139 139
 
140 140
     /**
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
     * Whether the document already rendered call
62 61
      * mean to render() method
@@ -75,8 +74,7 @@  discard block
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
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
      * The content to use to generate PDF document
57 56
      * @var string
@@ -81,8 +80,7 @@  discard block
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.