Passed
Push — 2024.10 ( e89e7d...87b589 )
by Aimeos
06:00 queued 02:55
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.
src/Base/View/Helper/Url/Typo3.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
 		if( (bool) $this->getValue( $config, 'BE', false ) === true ) {
90 90
 			$url = (string) $this->uriBuilder->buildBackendUri();
91
-			return array_key_exists( 'id', $params ) ? $url : preg_replace(  '/\&id=[0-9]+/', '', $url ); // workaround for TYPO3 bug
91
+			return array_key_exists( 'id', $params ) ? $url : preg_replace( '/\&id=[0-9]+/', '', $url ); // workaround for TYPO3 bug
92 92
 		}
93 93
 
94 94
 		$url = (string) $this->uriBuilder->buildFrontendUri();
Please login to merge, or discard this patch.