@@ -90,7 +90,7 @@ |
||
| 90 | 90 | /** |
| 91 | 91 | * Builds the command from a SearchRaSecondFactorsCommand |
| 92 | 92 | * @param SearchRaSecondFactorsCommand $command |
| 93 | - * @param string $institution |
|
| 93 | + * @param string $actorInstitution |
|
| 94 | 94 | * @return ExportRaSecondFactorsCommand |
| 95 | 95 | */ |
| 96 | 96 | public static function fromSearchCommand(SearchRaSecondFactorsCommand $command, $actorInstitution) |
@@ -114,6 +114,9 @@ |
||
| 114 | 114 | return in_array($attribute, [self::VIEW_AUDITLOG]); |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | + /** |
|
| 118 | + * @param string $class |
|
| 119 | + */ |
|
| 117 | 120 | private function supportsClass($class) |
| 118 | 121 | { |
| 119 | 122 | $supportedClass = InstitutionContext::class; |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | /** |
| 117 | 117 | * Returns the user credentials. |
| 118 | 118 | * |
| 119 | - * @return mixed The user credentials |
|
| 119 | + * @return string The user credentials |
|
| 120 | 120 | */ |
| 121 | 121 | public function getCredentials() |
| 122 | 122 | { |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | /** |
| 202 | - * @return string |
|
| 202 | + * @return boolean |
|
| 203 | 203 | */ |
| 204 | 204 | private function isUserSraa() |
| 205 | 205 | { |