Passed
Push — master ( db2ea2...f95733 )
by Luiz Kim
02:09
created
src/Controller/Oauth/GoogleReturnController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $this->provider = new Google([
27 27
             'clientId'     => $this->clientId,
28 28
             'clientSecret' => $this->clientSecret,
29
-            'redirectUri'  => 'https://' . $this->domainService->getMainDomain(). '/oauth/google/return',
29
+            'redirectUri'  => 'https://' . $this->domainService->getMainDomain() . '/oauth/google/return',
30 30
             //'hostedDomain' => 'example.com', // optional; used to restrict access to users on your G Suite/Google Apps for Business accounts
31 31
         ]);
32 32
         
Please login to merge, or discard this patch.
src/Controller/Oauth/FacebookController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $this->provider = new Facebook([
27 27
             'clientId'     => $this->clientId,
28 28
             'clientSecret' => $this->clientSecret,
29
-            'redirectUri'  => 'https://' . $this->domainService->getMainDomain(). '/oauth/facebook/return',
29
+            'redirectUri'  => 'https://' . $this->domainService->getMainDomain() . '/oauth/facebook/return',
30 30
             //'hostedDomain' => 'example.com', // optional; used to restrict access to users on your G Suite/Facebook Apps for Business accounts
31 31
         ]);
32 32
     }
Please login to merge, or discard this patch.
src/Controller/Oauth/InstagramController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $this->provider = new Instagram([
28 28
             'clientId'     => $this->clientId,
29 29
             'clientSecret' => $this->clientSecret,
30
-            'redirectUri'  => 'https://' .$this->domainService->getMainDomain() . '/oauth/instagram/return',
30
+            'redirectUri'  => 'https://' . $this->domainService->getMainDomain() . '/oauth/instagram/return',
31 31
             //'hostedDomain' => 'example.com', // optional; used to restrict access to users on your G Suite/Instagram Apps for Business accounts
32 32
         ]);
33 33
     }
Please login to merge, or discard this patch.
src/Controller/ChangePasswordAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
   {
24 24
 
25 25
     try {
26
-      $payload   = json_decode($request->getContent());
26
+      $payload = json_decode($request->getContent());
27 27
 
28 28
       $user = $this->service->changePassword($data, $payload->password);
29 29
 
Please login to merge, or discard this patch.
src/Controller/CreateUserAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
   {
25 25
 
26 26
     try {
27
-      $payload   = json_decode($request->getContent());
28
-      $people =  $this->manager->getRepository(People::class)->find($payload->people);
27
+      $payload = json_decode($request->getContent());
28
+      $people = $this->manager->getRepository(People::class)->find($payload->people);
29 29
 
30 30
       $user = $this->service->createUser(
31 31
         $people,
Please login to merge, or discard this patch.