Passed
Push — master ( 95e0be...6ed1f1 )
by Aimeos
08:31 queued 23s
created
Classes/Controller/AbstractController.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,9 +170,11 @@
 block discarded – undo
170 170
 		$header = (string) $client->header( $uid );
171 171
 		$html = (string) $client->body( $uid );
172 172
 
173
-		if( !isset( $this->responseFactory ) ) // TYPO3 10
173
+		if( !isset( $this->responseFactory ) ) {
174
+			// TYPO3 10
174 175
 		{
175 176
 			$this->response->addAdditionalHeaderData( $header );
177
+		}
176 178
 			return $html;
177 179
 		}
178 180
 
Please login to merge, or discard this patch.
Classes/Base/View.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -85,13 +85,11 @@  discard block
 block discarded – undo
85 85
 					$groups[] = $entry['title'];
86 86
 				}
87 87
 				$helper = new \Aimeos\MW\View\Helper\Access\Standard( $view, $groups );
88
-			}
89
-			else
88
+			} else
90 89
 			{
91 90
 				$helper = new \Aimeos\MW\View\Helper\Access\All( $view );
92 91
 			}
93
-		}
94
-		else
92
+		} else
95 93
 		{
96 94
 			$t3context = GeneralUtility::makeInstance( 'TYPO3\CMS\Core\Context\Context' );
97 95
 
@@ -313,8 +311,7 @@  discard block
 block discarded – undo
313 311
 		{
314 312
 			$i18n = \Aimeos\Aimeos\Base::i18n( [$langid], $local );
315 313
 			$translation = $i18n[$langid];
316
-		}
317
-		else
314
+		} else
318 315
 		{
319 316
 			$translation = new \Aimeos\Base\Translation\None( 'en' );
320 317
 		}
Please login to merge, or discard this patch.