@@ -46,8 +46,7 @@ discard block |
||
| 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 |
||
| 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 | |