Passed
Push — master ( 5d1e58...95ad6f )
by Aimeos
05:54
created
lib/mwlib/src/MW/Config/Decorator/Memory.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,8 +103,7 @@
 block discarded – undo
103 103
 		{
104 104
 			$this->cache[$name] = $value;
105 105
 			unset( $this->negCache[$name] );
106
-		}
107
-		else
106
+		} else
108 107
 		{
109 108
 			$this->negCache[$name] = true;
110 109
 		}
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Config/Decorator/MemoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 	public function testGetLocal()
53 53
 	{
54 54
 		$conf = new \Aimeos\MW\Config\PHPArray( [] );
55
-		$local = ['resource' => ['db' => ['host' => '127.0.0.1' ] ] ];
55
+		$local = ['resource' => ['db' => ['host' => '127.0.0.1']]];
56 56
 		$this->object = new \Aimeos\MW\Config\Decorator\Memory( $conf, $local );
57 57
 
58 58
 		$this->assertEquals( '127.0.0.1', $this->object->get( 'resource/db/host', '127.0.0.2' ) );
Please login to merge, or discard this patch.