Passed
Push — master ( 694ed0...cabedf )
by Aimeos
08:10 queued 35s
created
Controller/JqadmController.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 		$cntl = $this->createAdmin( $request, $site, $resource );
79 79
 
80 80
 		if( ( $html = $cntl->copy() ) == '' ) {
81
-			return (new HttpFoundationFactory())->createResponse( $cntl->getView()->response() );
81
+			return ( new HttpFoundationFactory() )->createResponse( $cntl->getView()->response() );
82 82
 		}
83 83
 
84 84
 		return $this->getHtml( $html );
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 		$cntl = $this->createAdmin( $request, $site, $resource );
99 99
 
100 100
 		if( ( $html = $cntl->create() ) == '' ) {
101
-			return (new HttpFoundationFactory())->createResponse( $cntl->getView()->response() );
101
+			return ( new HttpFoundationFactory() )->createResponse( $cntl->getView()->response() );
102 102
 		}
103 103
 
104 104
 		return $this->getHtml( $html );
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 		$cntl = $this->createAdmin( $request, $site, $resource );
119 119
 
120 120
 		if( ( $html = $cntl->delete() ) == '' ) {
121
-			return (new HttpFoundationFactory())->createResponse( $cntl->getView()->response() );
121
+			return ( new HttpFoundationFactory() )->createResponse( $cntl->getView()->response() );
122 122
 		}
123 123
 
124 124
 		return $this->getHtml( $html );
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 		$cntl = $this->createAdmin( $request, $site, $resource );
139 139
 
140 140
 		if( ( $html = $cntl->export() ) == '' ) {
141
-			return (new HttpFoundationFactory())->createResponse( $cntl->getView()->response() );
141
+			return ( new HttpFoundationFactory() )->createResponse( $cntl->getView()->response() );
142 142
 		}
143 143
 
144 144
 		return $this->getHtml( $html );
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 		$cntl = $this->createAdmin( $request, $site, $resource );
159 159
 
160 160
 		if( ( $html = $cntl->get() ) == '' ) {
161
-			return (new HttpFoundationFactory())->createResponse( $cntl->getView()->response() );
161
+			return ( new HttpFoundationFactory() )->createResponse( $cntl->getView()->response() );
162 162
 		}
163 163
 
164 164
 		return $this->getHtml( $html );
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 		$cntl = $this->createAdmin( $request, $site, $resource );
179 179
 
180 180
 		if( ( $html = $cntl->save() ) == '' ) {
181
-			return (new HttpFoundationFactory())->createResponse( $cntl->getView()->response() );
181
+			return ( new HttpFoundationFactory() )->createResponse( $cntl->getView()->response() );
182 182
 		}
183 183
 
184 184
 		return $this->getHtml( $html );
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 		$cntl = $this->createAdmin( $request, $site, $resource );
199 199
 
200 200
 		if( ( $html = $cntl->search() ) == '' ) {
201
-			return (new HttpFoundationFactory())->createResponse( $cntl->getView()->response() );
201
+			return ( new HttpFoundationFactory() )->createResponse( $cntl->getView()->response() );
202 202
 		}
203 203
 
204 204
 		return $this->getHtml( $html );
Please login to merge, or discard this patch.
Command/JobsCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,12 +85,12 @@
 block discarded – undo
85 85
 	protected function getContext() : \Aimeos\MShop\Context\Item\Iface
86 86
 	{
87 87
 		$container = $this->getContainer();
88
-		$aimeos = $container->get('aimeos')->get();
88
+		$aimeos = $container->get( 'aimeos' )->get();
89 89
 		$context = $container->get( 'aimeos.context' )->get( false, 'command' );
90 90
 
91 91
 		$tmplPaths = $aimeos->getCustomPaths( 'controller/jobs/templates' );
92 92
 		$tmplPaths = array_merge( $tmplPaths, $aimeos->getCustomPaths( 'client/html/templates' ) );
93
-		$view = $container->get('aimeos.view')->create( $context, $tmplPaths );
93
+		$view = $container->get( 'aimeos.view' )->create( $context, $tmplPaths );
94 94
 
95 95
 		$langManager = \Aimeos\MShop::create( $context, 'locale/language' );
96 96
 		$langids = array_keys( $langManager->searchItems( $langManager->createSearch( true ) ) );
Please login to merge, or discard this patch.
Entity/FosUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -552,7 +552,7 @@
 block discarded – undo
552 552
 	 */
553 553
 	public function getWebsite() : string
554 554
 	{
555
-		return (string)  $this->website;
555
+		return (string) $this->website;
556 556
 	}
557 557
 
558 558
 
Please login to merge, or discard this patch.