@@ -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 | } |
@@ -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 | |
| 7 | 7 | namespace Laztopaz\EmojiRestfulAPI; |
| 8 | 8 | |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | $auth = $this->auth; |
| 47 | 47 | $emoji = $this->emoji; |
| 48 | 48 | |
| 49 | - /* |
|
| 49 | + /* |
|
| 50 | 50 | * This verb returns error 404 |
| 51 | 51 | * |
| 52 | 52 | * @param $request |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * |
| 13 | 13 | * @param $data |
| 14 | 14 | * |
| 15 | - * @return bool true |
|
| 15 | + * @return boolean|null true |
|
| 16 | 16 | */ |
| 17 | 17 | public function createUser(array $data) |
| 18 | 18 | { |