Update Environment.php

Bug fixes
Merge pull request #24 from Pihaar/patch-7

Update Environment.php