Completed
Push — master ( 5c46bf...f77784 )
by Mahmoud
03:22
created
app/Containers/User/UI/API/Transformers/UserTransformer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     public function transform(User $user)
27 27
     {
28 28
 
29
-      $response = [
29
+        $response = [
30 30
             'id'                   => $user->getHashedKey(),
31 31
             'name'                 => $user->name,
32 32
             'email'                => $user->email,
Please login to merge, or discard this patch.
app/Port/HashId/Traits/HashIdTrait.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -61,13 +61,13 @@
 block discarded – undo
61 61
         return $id;
62 62
     }
63 63
 
64
-  /**
65
-   * Will be used by the Eloquent Models (since it's used as trait there).
66
-   *
67
-   * @param null $key
68
-   *
69
-   * @return  mixed
70
-   */
64
+    /**
65
+     * Will be used by the Eloquent Models (since it's used as trait there).
66
+     *
67
+     * @param null $key
68
+     *
69
+     * @return  mixed
70
+     */
71 71
     public function getHashedKey($key = null)
72 72
     {
73 73
         // hash the ID only if hash-id enabled in the config
Please login to merge, or discard this patch.