Passed
Push — master ( 5bc9ee...9d0a21 )
by Aimeos
04:46
created
src/Base/Context.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 			$this->addMessageQueueManager( $context );
59 59
 			$this->addLogger( $context );
60 60
 			$this->addCache( $context );
61
-			$this->addMailer( $context);
61
+			$this->addMailer( $context );
62 62
 			$this->addProcess( $context );
63 63
 			$this->addSession( $context );
64 64
 			$this->addUser( $context );
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 	 */
206 206
 	protected function addUser( \Aimeos\MShop\Context\Item\Iface $context ) : \Aimeos\MShop\Context\Item\Iface
207 207
 	{
208
-		$ipaddr = $this->container->request->getAttribute('ip_address');
208
+		$ipaddr = $this->container->request->getAttribute( 'ip_address' );
209 209
 
210 210
 		return $context->setEditor( $ipaddr ?: '' );
211 211
 	}
Please login to merge, or discard this patch.