Passed
Push — master ( e46f8e...3c4ff7 )
by Aimeos
03:42
created
src/Controller/Jobs/Order/Email/Payment/Standard.php 1 patch
Braces   +12 added lines, -4 removed lines patch added patch discarded remove patch
@@ -362,10 +362,18 @@
 block discarded – undo
362 362
 			private ?\Closure $headerFcn = null;
363 363
 			private ?\Closure $footerFcn = null;
364 364
 
365
-			public function Footer() { return ( $fcn = $this->footerFcn ) ? $fcn( $this ) : null; }
366
-			public function Header() { return ( $fcn = $this->headerFcn ) ? $fcn( $this ) : null; }
367
-			public function setFooterFunction( \Closure $fcn ) { $this->footerFcn = $fcn; }
368
-			public function setHeaderFunction( \Closure $fcn ) { $this->headerFcn = $fcn; }
365
+			public function Footer()
366
+			{
367
+return ( $fcn = $this->footerFcn ) ? $fcn( $this ) : null; }
368
+			public function Header()
369
+			{
370
+return ( $fcn = $this->headerFcn ) ? $fcn( $this ) : null; }
371
+			public function setFooterFunction( \Closure $fcn )
372
+			{
373
+$this->footerFcn = $fcn; }
374
+			public function setHeaderFunction( \Closure $fcn )
375
+			{
376
+$this->headerFcn = $fcn; }
369 377
 		};
370 378
 		$pdf->setCreator( PDF_CREATOR );
371 379
 		$pdf->setAuthor( 'Aimeos' );
Please login to merge, or discard this patch.
src/Controller/Jobs/Order/Email/Voucher/Standard.php 1 patch
Braces   +12 added lines, -4 removed lines patch added patch discarded remove patch
@@ -397,10 +397,18 @@
 block discarded – undo
397 397
 			private ?\Closure $headerFcn = null;
398 398
 			private ?\Closure $footerFcn = null;
399 399
 
400
-			public function Footer() { return ( $fcn = $this->footerFcn ) ? $fcn( $this ) : null; }
401
-			public function Header() { return ( $fcn = $this->headerFcn ) ? $fcn( $this ) : null; }
402
-			public function setFooterFunction( \Closure $fcn ) { $this->footerFcn = $fcn; }
403
-			public function setHeaderFunction( \Closure $fcn ) { $this->headerFcn = $fcn; }
400
+			public function Footer()
401
+			{
402
+return ( $fcn = $this->footerFcn ) ? $fcn( $this ) : null; }
403
+			public function Header()
404
+			{
405
+return ( $fcn = $this->headerFcn ) ? $fcn( $this ) : null; }
406
+			public function setFooterFunction( \Closure $fcn )
407
+			{
408
+$this->footerFcn = $fcn; }
409
+			public function setHeaderFunction( \Closure $fcn )
410
+			{
411
+$this->headerFcn = $fcn; }
404 412
 		};
405 413
 		$pdf->setCreator( PDF_CREATOR );
406 414
 		$pdf->setAuthor( 'Aimeos' );
Please login to merge, or discard this patch.