@@ -22,8 +22,8 @@ |
||
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 | } |
@@ -96,7 +96,7 @@ |
||
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 | } |
@@ -19,15 +19,15 @@ discard block |
||
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 |
||
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 |
@@ -96,7 +96,7 @@ |
||
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(); |
@@ -178,7 +178,7 @@ |
||
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')); |
@@ -20,7 +20,7 @@ |
||
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); |
@@ -84,7 +84,7 @@ |
||
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); |
@@ -108,8 +108,8 @@ |
||
108 | 108 | * @ingroup oauth2_section_4 |
109 | 109 | */ |
110 | 110 | public function setAuthorizationCode($code, $client_id, $user_id, |
111 | - $redirect_uri, $expires, $scope = null, |
|
112 | - $id_token = null) |
|
111 | + $redirect_uri, $expires, $scope = null, |
|
112 | + $id_token = null) |
|
113 | 113 | { |
114 | 114 | $id = explode('_', $client_id); |
115 | 115 | $client = $this->em->getRepository('LoginCidadaoOAuthBundle:Client') |
@@ -32,7 +32,7 @@ |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | public function setFilesystem(Filesystem $filesystem, |
35 | - $fileName = 'private.pem') |
|
35 | + $fileName = 'private.pem') |
|
36 | 36 | { |
37 | 37 | $this->filesystem = $filesystem; |
38 | 38 | $this->fileName = $fileName; |