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