Completed
Push — master ( 404d4d...8c4f30 )
by Temitope
02:39
created
src/Auth/Middleware.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         $authHeader = $request->getHeader('HTTP_AUTHORIZATION');
19 19
 
20 20
         try {
21
-            if (is_array($authHeader) && ! empty($authHeader)) {
21
+            if (is_array($authHeader) && !empty($authHeader)) {
22 22
                 $secretKey = base64_decode(getenv('secret'));
23 23
                 $jwt = json_decode($authHeader[0], true);
24 24
                 //decode the JWT using the key from config
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 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 Illuminate\Database\Capsule\Manager as Capsule;
Please login to merge, or discard this patch.