Passed
Push — master ( aef34e...2e7918 )
by Aimeos
03:18
created
controller/jobs/src/Controller/Jobs/Order/Email/Payment/Standard.php 1 patch
Braces   +14 added lines, -5 removed lines patch added patch discarded remove patch
@@ -250,14 +250,23 @@
 block discarded – undo
250 250
 			return null;
251 251
 		}
252 252
 
253
-		$pdf = new class( PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false ) extends \TCPDF {
253
+		$pdf = new class( PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false ) extends \TCPDF
254
+		{
254 255
 			private $headerFcn;
255 256
 			private $footerFcn;
256 257
 
257
-			public function Footer() { return ( $fcn = $this->footerFcn ) ? $fcn( $this ) : null; }
258
-			public function Header() { return ( $fcn = $this->headerFcn ) ? $fcn( $this ) : null; }
259
-			public function setFooterFunction( \Closure $fcn ) { $this->footerFcn = $fcn; }
260
-			public function setHeaderFunction( \Closure $fcn ) { $this->headerFcn = $fcn; }
258
+			public function Footer()
259
+			{
260
+return ( $fcn = $this->footerFcn ) ? $fcn( $this ) : null; }
261
+			public function Header()
262
+			{
263
+return ( $fcn = $this->headerFcn ) ? $fcn( $this ) : null; }
264
+			public function setFooterFunction( \Closure $fcn )
265
+			{
266
+$this->footerFcn = $fcn; }
267
+			public function setHeaderFunction( \Closure $fcn )
268
+			{
269
+$this->headerFcn = $fcn; }
261 270
 		};
262 271
 		$pdf->setCreator( PDF_CREATOR );
263 272
 		$pdf->setAuthor( 'Aimeos' );
Please login to merge, or discard this patch.