@@ -50,8 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | if($this->__isset($property)){ |
| 52 | 52 | return $this->{$property}; |
| 53 | - } |
|
| 54 | - elseif($this->env instanceof DotEnv){ |
|
| 53 | + } elseif($this->env instanceof DotEnv){ |
|
| 55 | 54 | return $this->env->get($property); |
| 56 | 55 | } |
| 57 | 56 | |
@@ -69,8 +68,7 @@ discard block |
||
| 69 | 68 | // avoid overwriting private properties |
| 70 | 69 | if(!property_exists($this, $property) || !$this->__isPrivate($property)){ |
| 71 | 70 | $this->{$property} = $value; |
| 72 | - } |
|
| 73 | - elseif($this->env instanceof DotEnv){ |
|
| 71 | + } elseif($this->env instanceof DotEnv){ |
|
| 74 | 72 | $this->env->set($property, $value); |
| 75 | 73 | } |
| 76 | 74 | |