Completed
Push — master ( 9da9ff...cb8991 )
by Temitope
04:32
created
src/Database/DatabaseConnection.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Controller/EmojiController.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,8 +108,8 @@  discard block
 block discarded – undo
108 108
      * This method creates emoji and keywords associated with it.
109 109
      *
110 110
      * @param $emoji
111
-     * @param $request
112
-     * @param $response
111
+     * @param Request $request
112
+     * @param Response $response
113 113
      * @param $requestParams
114 114
      *
115 115
      * @return json response
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      * This method updates an emoji.
173 173
      *
174 174
      * @param $emoji
175
-     * @param $response
175
+     * @param Response $response
176 176
      * @param $updateParams
177 177
      *
178 178
      * @return json $response
@@ -363,6 +363,8 @@  discard block
 block discarded – undo
363 363
 
364 364
     /**
365 365
      * This method solves for rightful of a record
366
+     * @param Request $request
367
+     * @param Response $response
366 368
      */
367 369
     public function findTheOwner($args, $request, $response)
368 370
     {
Please login to merge, or discard this patch.