Completed
Push — develop ( bfb09c...3a5f86 )
by Mario
07:54
created
src/AppBundle/Service/UserService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                     ->setOwner($user->getOwner())
84 84
                     ->setOwnerUuid($user->getOwnerUuid())
85 85
                     ->setIndividual($identity)
86
-                    ->setTitle([ // @todo remove hard-coded titles
86
+                    ->setTitle([// @todo remove hard-coded titles
87 87
                         'en' => 'Default',
88 88
                         'fr' => 'Défaut'
89 89
                     ])
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
                     ->setOwner($user->getOwner())
104 104
                     ->setOwnerUuid($user->getOwnerUuid())
105 105
                     ->setOrganization($identity)
106
-                    ->setTitle([ // @todo remove hard-coded titles
106
+                    ->setTitle([// @todo remove hard-coded titles
107 107
                         'en' => 'Default',
108 108
                         'fr' => 'Défaut'
109 109
                     ])
Please login to merge, or discard this patch.
src/AppBundle/Controller/OAuth/ConnectController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
         $url['query']['redirect_uri'] = $success.'?tenant='.urlencode($tenant).'&service='.urlencode($service);
31 31
         $url['query'] = http_build_query($url['query']);
32 32
         $authorizationUrl = (function(array $url) {
33
-            $scheme = isset($url['scheme']) ? $url['scheme'] . '://' : '';
33
+            $scheme = isset($url['scheme']) ? $url['scheme'].'://' : '';
34 34
             $host = isset($url['host']) ? $url['host'] : '';
35
-            $port = isset($url['port']) ? ':' . $url['port'] : '';
35
+            $port = isset($url['port']) ? ':'.$url['port'] : '';
36 36
             $user = isset($url['user']) ? $url['user'] : '';
37
-            $pass = isset($url['pass']) ? ':' . $url['pass']  : '';
37
+            $pass = isset($url['pass']) ? ':'.$url['pass'] : '';
38 38
             $pass = ($user || $pass) ? "$pass@" : '';
39 39
             $path = isset($url['path']) ? $url['path'] : '';
40
-            $query = isset($url['query']) ? '?' . $url['query'] : '';
41
-            $fragment = isset($url['fragment']) ? '#' . $url['fragment'] : '';
40
+            $query = isset($url['query']) ? '?'.$url['query'] : '';
41
+            $fragment = isset($url['fragment']) ? '#'.$url['fragment'] : '';
42 42
 
43 43
             return "$scheme$user$pass$host$port$path$query$fragment";
44 44
         })($url);
Please login to merge, or discard this patch.