Passed
Push — master ( cbc16e...147a8f )
by Aimeos
02:44
created
src/Base/Mail/Message/Typo3.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
 		if( $data )
303 303
 		{
304 304
 			$class = '\Symfony\Component\Mime\Email';
305
-			$mimetype = $mimetype ?: (new \finfo( FILEINFO_MIME_TYPE ))->buffer( $data );
305
+			$mimetype = $mimetype ?: ( new \finfo( FILEINFO_MIME_TYPE ) )->buffer( $data );
306 306
 			$filename = $filename ?: md5( $data );
307 307
 
308 308
 			if( class_exists( $class ) && $this->object instanceof $class )
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
 		if( $data )
339 339
 		{
340 340
 			$class = '\Symfony\Component\Mime\Email';
341
-			$mimetype = $mimetype ?: (new \finfo( FILEINFO_MIME_TYPE ))->buffer( $data );
341
+			$mimetype = $mimetype ?: ( new \finfo( FILEINFO_MIME_TYPE ) )->buffer( $data );
342 342
 			$filename = $filename ?: md5( $data );
343 343
 
344 344
 			if( class_exists( $class ) && $this->object instanceof $class )
Please login to merge, or discard this patch.