Passed
Push — master ( d0c8f5...836538 )
by Luiz Kim
02:59
created
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@
 block discarded – undo
24 24
   {
25 25
 
26 26
     try {
27
-      $payload   = json_decode($request->getContent());
27
+      $payload = json_decode($request->getContent());
28 28
 
29 29
       if ($payload->people)
30
-        $people =  $this->manager->getRepository(People::class)->find($payload->people);
30
+        $people = $this->manager->getRepository(People::class)->find($payload->people);
31 31
       else
32
-        $people =  $this->service->discoveryPeople($payload->username, $payload->firstName, $payload->lastName);
32
+        $people = $this->service->discoveryPeople($payload->username, $payload->firstName, $payload->lastName);
33 33
 
34 34
       $user = $this->service->createUser(
35 35
         $people,
Please login to merge, or discard this patch.