@@ -1,8 +1,8 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Temitope Olotin <[email protected]> |
|
4 | - * @license <https://opensource.org/license/MIT> MIT |
|
5 | - */ |
|
3 | + * @author Temitope Olotin <[email protected]> |
|
4 | + * @license <https://opensource.org/license/MIT> MIT |
|
5 | + */ |
|
6 | 6 | namespace Laztopaz\EmojiRestfulAPI; |
7 | 7 | |
8 | 8 | use Dotenv\Dotenv; |
@@ -48,15 +48,15 @@ discard block |
||
48 | 48 | $this->capsule->bootEloquent(); |
49 | 49 | } |
50 | 50 | |
51 | - /** |
|
52 | - * Load Dotenv to grant getenv() access to |
|
53 | - * environment variables in .env file. |
|
54 | - */ |
|
55 | - public static function loadEnv() |
|
56 | - { |
|
57 | - if (!getenv('APP_ENV')) { |
|
58 | - $dotenv = new Dotenv(__DIR__.'/../../'); |
|
59 | - $dotenv->load(); |
|
60 | - } |
|
61 | - } |
|
51 | + /** |
|
52 | + * Load Dotenv to grant getenv() access to |
|
53 | + * environment variables in .env file. |
|
54 | + */ |
|
55 | + public static function loadEnv() |
|
56 | + { |
|
57 | + if (!getenv('APP_ENV')) { |
|
58 | + $dotenv = new Dotenv(__DIR__.'/../../'); |
|
59 | + $dotenv->load(); |
|
60 | + } |
|
61 | + } |
|
62 | 62 | } |