Passed
Push — master ( 0ec485...7e1c76 )
by smiley
01:45
created
src/Output/QRMarkup.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	 * @see \sprintf()
28 28
 	 */
29 29
 	protected string $svgHeader = '<svg xmlns="http://www.w3.org/2000/svg" class="qr-svg %1$s" '.
30
-	                              'style="width: 100%%; height: auto;" viewBox="0 0 %2$d %2$d">';
30
+								  'style="width: 100%%; height: auto;" viewBox="0 0 %2$d %2$d">';
31 31
 
32 32
 	/**
33 33
 	 * @inheritDoc
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
 
76 76
 		if($file !== null){
77 77
 			return '<!DOCTYPE html>'.
78
-			       '<head><meta charset="UTF-8"><title>QR Code</title></head>'.
79
-			       '<body>'.$this->options->eol.$html.'</body>';
78
+				   '<head><meta charset="UTF-8"><title>QR Code</title></head>'.
79
+				   '<body>'.$this->options->eol.$html.'</body>';
80 80
 		}
81 81
 
82 82
 		return $html;
@@ -91,9 +91,9 @@  discard block
 block discarded – undo
91 91
 		$matrix = $this->matrix->matrix();
92 92
 
93 93
 		$svg = sprintf($this->svgHeader, $this->options->cssClass, $this->options->svgViewBoxSize ?? $this->moduleCount)
94
-		       .$this->options->eol
95
-		       .'<defs>'.$this->options->svgDefs.'</defs>'
96
-		       .$this->options->eol;
94
+			   .$this->options->eol
95
+			   .'<defs>'.$this->options->svgDefs.'</defs>'
96
+			   .$this->options->eol;
97 97
 
98 98
 		foreach($this->moduleValues as $M_TYPE => $value){
99 99
 			$path = '';
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 		// if saving to file, append the correct headers
148 148
 		if($file !== null){
149 149
 			return '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'.
150
-			       $this->options->eol.$svg;
150
+				   $this->options->eol.$svg;
151 151
 		}
152 152
 
153 153
 		return $svg;
Please login to merge, or discard this patch.