Passed
Push — master ( 5d95e6...42c753 )
by Aimeos
03:17
created
src/Controller/Jobs/Order/Email/Payment/Standard.php 1 patch
Braces   +12 added lines, -4 removed lines patch added patch discarded remove patch
@@ -254,10 +254,18 @@
 block discarded – undo
254 254
 			private $headerFcn;
255 255
 			private $footerFcn;
256 256
 
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; }
257
+			public function Footer()
258
+			{
259
+return ( $fcn = $this->footerFcn ) ? $fcn( $this ) : null; }
260
+			public function Header()
261
+			{
262
+return ( $fcn = $this->headerFcn ) ? $fcn( $this ) : null; }
263
+			public function setFooterFunction( \Closure $fcn )
264
+			{
265
+$this->footerFcn = $fcn; }
266
+			public function setHeaderFunction( \Closure $fcn )
267
+			{
268
+$this->headerFcn = $fcn; }
261 269
 		};
262 270
 		$pdf->setCreator( PDF_CREATOR );
263 271
 		$pdf->setAuthor( 'Aimeos' );
Please login to merge, or discard this patch.