@@ -155,7 +155,7 @@ |
||
155 | 155 | */ |
156 | 156 | private function findRegistrationAuthorityCredentialsByIdentity(Identity $identity) |
157 | 157 | { |
158 | - $this->logger->notice(sprintf('Getting profile for IdentityId "%s" NameId "%s"', $identity->id, $identity->nameId )); |
|
158 | + $this->logger->notice(sprintf('Getting profile for IdentityId "%s" NameId "%s"', $identity->id, $identity->nameId)); |
|
159 | 159 | $raListing = $this->raListingRepository->findByIdentityId(new IdentityId($identity->id)); |
160 | 160 | $sraa = $this->sraaRepository->findByNameId($identity->nameId); |
161 | 161 |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | $institutions = new InstitutionCollection(); |
94 | 94 | $configuredInstitutions = $this->institutionRepository->findAll(); |
95 | 95 | foreach ($configuredInstitutions as $institution) { |
96 | - $institutions->add(new Institution((string)$institution->institution)); |
|
96 | + $institutions->add(new Institution((string) $institution->institution)); |
|
97 | 97 | } |
98 | 98 | } else { |
99 | 99 | // Get the institutions the identity is RA(A) for. |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | |
105 | 105 | private function isSraa(IdentityId $actorId) |
106 | 106 | { |
107 | - $identity = $this->identityService->find((string)$actorId); |
|
107 | + $identity = $this->identityService->find((string) $actorId); |
|
108 | 108 | if (!$identity) { |
109 | 109 | throw new InvalidArgumentException('The provided id is not associated with any known identity'); |
110 | 110 | } |
@@ -122,7 +122,7 @@ |
||
122 | 122 | { |
123 | 123 | $institutions = []; |
124 | 124 | /** @var Institution $institution */ |
125 | - foreach($collection->jsonSerialize()['institutions'] as $institution) |
|
125 | + foreach ($collection->jsonSerialize()['institutions'] as $institution) |
|
126 | 126 | { |
127 | 127 | $institutions[] = $institution->getInstitution(); |
128 | 128 | } |