Browse Source

Beautify as AVMG wishes spacespacespaceenter

Dennis 3 years ago
parent
commit
6325cd8f87
1 changed files with 3 additions and 2 deletions
  1. 3 2
      app/Models/User.php

+ 3 - 2
app/Models/User.php

@@ -213,11 +213,12 @@ class User extends Authenticatable implements MustVerifyEmail
      */
      */
     public function getAvatar()
     public function getAvatar()
     {
     {
-        if ($this->discordUser()->exists()){
+        if ($this->discordUser()->exists()) {
             $avatar = $this->discordUser->getAvatar();
             $avatar = $this->discordUser->getAvatar();
-        }else{
+        } else {
             $avatar = "https://www.gravatar.com/avatar/" . md5(strtolower(trim($this->email)));
             $avatar = "https://www.gravatar.com/avatar/" . md5(strtolower(trim($this->email)));
         }
         }
+        
         return $avatar;
         return $avatar;
     }
     }