Completed
Push — master ( 783e10...2dcfb9 )
by Dimas
08:03
created
src/GoogleExt/client.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,9 @@  discard block
 block discarded – undo
49 49
   public static function get_profile_picture()
50 50
   {
51 51
     if (!empty(self::get_profile())) {
52
-      if (isset(self::get_profile()['picture'])) return self::get_profile()['picture'];
52
+      if (isset(self::get_profile()['picture'])) {
53
+        return self::get_profile()['picture'];
54
+      }
53 55
     }
54 56
     return 'https://upload.wikimedia.org/wikipedia/commons/thumb/a/ac/No_image_available.svg/480px-No_image_available.svg.png';
55 57
   }
@@ -57,7 +59,9 @@  discard block
 block discarded – undo
57 59
   public static function get_profile_name()
58 60
   {
59 61
     if (!empty(self::get_profile())) {
60
-      if (isset(self::get_profile()['name'])) return self::get_profile()['name'];
62
+      if (isset(self::get_profile()['name'])) {
63
+        return self::get_profile()['name'];
64
+      }
61 65
     }
62 66
     return 'Login Required';
63 67
   }
Please login to merge, or discard this patch.