Passed
Push — master ( fd4fa7...218eec )
by Jan
03:02
created
src/Controller/UserController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
     {
49 49
 
50 50
         //If no user id was passed, then we show info about the current user
51
-        if($user == null) {
51
+        if ($user == null) {
52 52
             $user = $this->getUser();
53 53
         }
54 54
 
55
-        if($this->getParameter("use_gravatar")) {
55
+        if ($this->getParameter("use_gravatar")) {
56 56
             $avatar = $this->getGravatar($user->getEmail(), 200, 'identicon');
57 57
         } else {
58 58
             $avatar = $packages->getUrl("/img/default_avatar.png");
@@ -84,9 +84,9 @@  discard block
 block discarded – undo
84 84
         $url .= md5(strtolower(trim($email)));
85 85
         $url .= "?s=$s&d=$d&r=$r";
86 86
         if ($img) {
87
-            $url = '<img src="' . $url . '"';
87
+            $url = '<img src="'.$url.'"';
88 88
             foreach ($atts as $key => $val) {
89
-                $url .= ' ' . $key . '="' . $val . '"';
89
+                $url .= ' '.$key.'="'.$val.'"';
90 90
             }
91 91
             $url .= ' />';
92 92
         }
Please login to merge, or discard this patch.