Skip to content

Commit

Permalink
Return correctly when getting by environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hall committed Jan 17, 2017
1 parent a7cd149 commit 5ce1dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Factories/IdealPostcodesFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public static function getByEnvironment()
throw new Exception('Environment variable '.$envKey.' is not found or is empty.');
}

self::getByAPIKey($apiKey);
return self::getByAPIKey($apiKey);
}
}

0 comments on commit 5ce1dac

Please sign in to comment.