Passed
Push — develop ( cb7f6e...315370 )
by nguereza
01:52
created
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
      * The DOMPDF instance
62 61
      * @var Dompdf
@@ -87,8 +86,7 @@  discard block
 block discarded – undo
87 86
      * @param Dompdf $dompdf
88 87
      * @param Filesystem $filesystem
89 88
      */
90
-    public function __construct(Dompdf $dompdf, Filesystem $filesystem)
91
-    {
89
+    public function __construct(Dompdf $dompdf, Filesystem $filesystem) {
92 90
         $this->dompdf = $dompdf;
93 91
         $this->filesystem = $filesystem;
94 92
         
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 generator instance to use
57 56
      * @var PDFGeneratorInterface
@@ -87,8 +86,7 @@  discard block
 block discarded – undo
87 86
      *
88 87
      * @param PDFGeneratorInterface $generator
89 88
      */
90
-    public function __construct(PDFGeneratorInterface $generator)
91
-    {
89
+    public function __construct(PDFGeneratorInterface $generator) {
92 90
         $this->generator = $generator;
93 91
     }
94 92
 
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
      * Generate PDF document
57 56
      * @param string $content the content to use
Please login to merge, or discard this patch.