@@ -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 | } |