Completed
Push — master ( 465294...59d00e )
by Temitope
02:22
created
src/Route/SlimRouteApp.php 1 patch
Indentation   +4 added lines, -4 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
 
7 7
 namespace Laztopaz\EmojiRestfulAPI;
8 8
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Controller/EmojiController.php 1 patch
Indentation   +5 added lines, -5 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 \Psr\Http\Message\ServerRequestInterface as Request;
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
         $jwtoken = $request->getServerParams()['token'];
249 249
 
250 250
         try {
251
-             if (isset($jwtoken)) {
251
+                if (isset($jwtoken)) {
252 252
                 $secretKey = base64_decode(getenv('secret'));
253 253
 
254 254
                 $jwt = json_decode($jwtoken, true);
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
 
261 261
                 $userInfo = (array) $tokenInfo['dat'];
262 262
 
263
-             return $userInfo['id'];
263
+                return $userInfo['id'];
264 264
 
265 265
             }
266 266
 
Please login to merge, or discard this patch.