@@ -43,6 +43,9 @@ |
||
| 43 | 43 | file_put_contents($fileName, $data."\n"); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @return string |
|
| 48 | + */ |
|
| 46 | 49 | private function createFileName($location) |
| 47 | 50 | { |
| 48 | 51 | $fileName = uniqid('identity_', true); |
@@ -76,6 +76,7 @@ |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * @param string |
| 79 | + * @param string $name |
|
| 79 | 80 | * @return array |
| 80 | 81 | */ |
| 81 | 82 | public function getAttributeMapping($name) |
@@ -63,8 +63,6 @@ discard block |
||
| 63 | 63 | private $certificateFile; |
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | - * @param string $identityId |
|
| 67 | - * @param string $secondFactorId |
|
| 68 | 66 | * @return RemoteVettingIdenityProviderDto |
| 69 | 67 | */ |
| 70 | 68 | public static function create(array $configData) |
@@ -110,7 +108,7 @@ discard block |
||
| 110 | 108 | } |
| 111 | 109 | |
| 112 | 110 | /** |
| 113 | - * @return string[] |
|
| 111 | + * @return string |
|
| 114 | 112 | */ |
| 115 | 113 | public function getDescription($lang) |
| 116 | 114 | { |
@@ -53,8 +53,8 @@ discard block |
||
| 53 | 53 | * @param AttributeCollectionInterface $attributeCollectionAggregate |
| 54 | 54 | * @param string $nameId |
| 55 | 55 | * @param string $applicationVersion |
| 56 | - * @param $institution |
|
| 57 | - * @param $remoteVettingSource |
|
| 56 | + * @param string $institution |
|
| 57 | + * @param string $remoteVettingSource |
|
| 58 | 58 | * @throws \Assert\AssertionFailedException |
| 59 | 59 | */ |
| 60 | 60 | public function __construct( |
@@ -76,6 +76,9 @@ discard block |
||
| 76 | 76 | $this->remoteVettingSource = $remoteVettingSource; |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | + /** |
|
| 80 | + * @return string |
|
| 81 | + */ |
|
| 79 | 82 | public function serialize() |
| 80 | 83 | { |
| 81 | 84 | return json_encode( |