Completed
Push — master ( ccbea3...19d1f9 )
by smiley
01:51
created
src/Container.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
 		if($this->__isset($property)){
48 48
 			return $this->{$property};
49
-		}
50
-		elseif($this->env instanceof DotEnv){
49
+		} elseif($this->env instanceof DotEnv){
51 50
 			return $this->env->get($property);
52 51
 		}
53 52
 
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
 		// avoid overwriting private properties
66 65
 		if(property_exists($this, $property) && !$this->__isPrivate($property)){
67 66
 			$this->{$property} = $value;
68
-		}
69
-		elseif($this->env instanceof DotEnv){
67
+		} elseif($this->env instanceof DotEnv){
70 68
 			$this->env->set($property, $value);
71 69
 		}
72 70
 
Please login to merge, or discard this patch.