Completed
Branch master (ca1420)
by Guilherme
07:28 queued 32s
created
src/LoginCidadao/NotificationBundle/Model/BroadcastPlaceholder.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,13 +34,13 @@
 block discarded – undo
34 34
 
35 35
     public function getValue()
36 36
     {
37
-      return $this->value;
37
+        return $this->value;
38 38
     }
39 39
 
40 40
     public function setValue($value)
41 41
     {
42
-      $this->value = $value;
43
-      return $this;
42
+        $this->value = $value;
43
+        return $this;
44 44
     }
45 45
     
46 46
     public function getName()
Please login to merge, or discard this patch.
src/LoginCidadao/NotificationBundle/Model/BroadcastSettings.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         return $this->category;
69 69
     }
70 70
     
71
-     public function setCategory($category)
71
+        public function setCategory($category)
72 72
     {
73 73
         $this->$category = $category;
74 74
         return $this;
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         return $this->broadcast->getTitle();
83 83
     }
84 84
     
85
-     public function setTitle($title)
85
+        public function setTitle($title)
86 86
     {
87 87
         $this->broadcast->setTitle($title);
88 88
         return $this;
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         return $this->broadcast->getShortText();
97 97
     }
98 98
     
99
-     public function setShortText($shortText)
99
+        public function setShortText($shortText)
100 100
     {
101 101
         $this->broadcast->setShortText($shortText);
102 102
         return $this;
Please login to merge, or discard this patch.
src/LoginCidadao/NotificationBundle/Model/ClientNotificationIterable.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
     protected function getCurrentData()
23 23
     {
24 24
         return $this->handler->allIdOffset($this->getPerIteration(),
25
-                                           $this->getOffset(),
26
-                                           $this->client);
25
+                                            $this->getOffset(),
26
+                                            $this->client);
27 27
     }
28 28
 
29 29
 }
Please login to merge, or discard this patch.
src/LoginCidadao/NotificationBundle/Model/NotificationIterable.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     protected function getCurrentData()
97 97
     {
98 98
         $notifications = $this->handler->allIdOffset($this->getPerIteration(),
99
-                                                     $this->getOffset());
99
+                                                        $this->getOffset());
100 100
 
101 101
         return $notifications;
102 102
     }
Please login to merge, or discard this patch.
src/LoginCidadao/OAuthBundle/Entity/ClientRepository.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -19,15 +19,15 @@  discard block
 block discarded – undo
19 19
     }
20 20
 
21 21
     public function getCountPerson(PersonInterface $person = null,
22
-                                   $clientId = null)
22
+                                    $clientId = null)
23 23
     {
24 24
         $qb = $this->getEntityManager()->createQueryBuilder()
25
-              ->select('count(a.id) AS qty, c AS client')
26
-              ->from('LoginCidadaoCoreBundle:Authorization', 'a')
25
+                ->select('count(a.id) AS qty, c AS client')
26
+                ->from('LoginCidadaoCoreBundle:Authorization', 'a')
27 27
             ->innerJoin('LoginCidadaoOAuthBundle:Client', 'c', 'WITH',
28 28
                 'a.client = c')
29
-              ->where('c.published = true')
30
-              ->groupBy('a.client, c')
29
+                ->where('c.published = true')
30
+                ->groupBy('a.client, c')
31 31
             ->orderBy('qty', 'DESC');
32 32
 
33 33
         if ($person !== null) {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     public function statsUsersByServiceByDay($days, $clientId = null,
55
-                                             PersonInterface $person = null)
55
+                                                PersonInterface $person = null)
56 56
     {
57 57
         $date = new \DateTime("-$days days");
58 58
 
Please login to merge, or discard this patch.
src/LoginCidadao/OAuthBundle/Form/OrganizationType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     }
97 97
 
98 98
     private function prepareMembersField(FormBuilderInterface $builder,
99
-                                         OrganizationInterface $organization)
99
+                                            OrganizationInterface $organization)
100 100
     {
101 101
         $checker = $this->authorizationChecker;
102 102
         $person  = $this->tokenStorage->getToken()->getUser();
Please login to merge, or discard this patch.
src/LoginCidadao/OpenIDBundle/Controller/ClientRegistrationController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
     }
179 179
 
180 180
     private function checkRegistrationAccessToken(Request $request,
181
-                                                  Client $client)
181
+                                                    Client $client)
182 182
     {
183 183
         $raw = $request->get('access_token',
184 184
             $request->headers->get('authorization'));
Please login to merge, or discard this patch.
src/LoginCidadao/OpenIDBundle/GrantType/AuthorizationCode.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     private $sessionStateStorage;
21 21
 
22 22
     public function createAccessToken(AccessTokenInterface $accessToken,
23
-                                      $client_id, $user_id, $scope)
23
+                                        $client_id, $user_id, $scope)
24 24
     {
25 25
         $token = parent::createAccessToken($accessToken, $client_id, $user_id,
26 26
                 $scope);
Please login to merge, or discard this patch.
src/LoginCidadao/OpenIDBundle/Storage/AccessToken.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      * @ingroup oauth2_section_4
85 85
      */
86 86
     public function setAccessToken($oauth_token, $client_id, $user_id, $expires,
87
-                                   $scope = null, $id_token = null)
87
+                                    $scope = null, $id_token = null)
88 88
     {
89 89
         // Get Client Entity
90 90
         $id     = explode('_', $client_id);
Please login to merge, or discard this patch.