| @@ -23,6 +23,7 @@ | ||
| 23 | 23 | /** | 
| 24 | 24 | * @param mixed $value | 
| 25 | 25 | * @throws \InvalidArgumentException | 
| 26 | + * @return void | |
| 26 | 27 | */ | 
| 27 | 28 | public function __construct($value); | 
| 28 | 29 | |
| @@ -24,6 +24,7 @@ | ||
| 24 | 24 |  { | 
| 25 | 25 | /** | 
| 26 | 26 | * Instantiate a new Whitelist, should not be used. | 
| 27 | + * @return void | |
| 27 | 28 | */ | 
| 28 | 29 | public function __construct(); | 
| 29 | 30 | |
| @@ -53,7 +53,7 @@ | ||
| 53 | 53 | |
| 54 | 54 | /** | 
| 55 | 55 | * @param array $data | 
| 56 | - * @return IdentityRenamedEvent The object instance | |
| 56 | + * @return LocalePreferenceExpressedEvent The object instance | |
| 57 | 57 | */ | 
| 58 | 58 | public static function deserialize(array $data) | 
| 59 | 59 |      { | 
| @@ -24,5 +24,8 @@ | ||
| 24 | 24 | */ | 
| 25 | 25 | interface Command | 
| 26 | 26 |  { | 
| 27 | + /** | |
| 28 | + * @return string | |
| 29 | + */ | |
| 27 | 30 | public function __toString(); | 
| 28 | 31 | } | 
| @@ -91,6 +91,13 @@ | ||
| 91 | 91 | */ | 
| 92 | 92 | private $secondFactorIdentifier; | 
| 93 | 93 | |
| 94 | + /** | |
| 95 | + * @param string $identityId | |
| 96 | + * @param string $nameId | |
| 97 | + * @param string $institution | |
| 98 | + * @param string $displayLocale | |
| 99 | + * @param string $secondFactorId | |
| 100 | + */ | |
| 94 | 101 | public function __construct( | 
| 95 | 102 | $identityId, | 
| 96 | 103 | $nameId, | 
| @@ -36,7 +36,7 @@ | ||
| 36 | 36 | |
| 37 | 37 | /** | 
| 38 | 38 | * @param SecondFactorId $secondFactorId | 
| 39 | - * @return SecondFactor|null | |
| 39 | + * @return SecondFactor | |
| 40 | 40 | */ | 
| 41 | 41 | public function findOneBySecondFactorId(SecondFactorId $secondFactorId) | 
| 42 | 42 |      { | 
| @@ -77,7 +77,7 @@ | ||
| 77 | 77 | } | 
| 78 | 78 | |
| 79 | 79 | /** | 
| 80 | - * @return null|\Surfnet\Stepup\Configuration\Api\Configuration | |
| 80 | + * @return \Broadway\Domain\AggregateRoot|null | |
| 81 | 81 | */ | 
| 82 | 82 | private function getConfiguration() | 
| 83 | 83 |      { | 
| @@ -184,7 +184,7 @@ discard block | ||
| 184 | 184 | } | 
| 185 | 185 | |
| 186 | 186 | /** | 
| 187 | - * @return string | |
| 187 | + * @return Location|null | |
| 188 | 188 | */ | 
| 189 | 189 | public function getLocation() | 
| 190 | 190 |      { | 
| @@ -192,7 +192,7 @@ discard block | ||
| 192 | 192 | } | 
| 193 | 193 | |
| 194 | 194 | /** | 
| 195 | - * @return string | |
| 195 | + * @return ContactInformation|null | |
| 196 | 196 | */ | 
| 197 | 197 | public function getContactInformation() | 
| 198 | 198 |      { | 
| @@ -94,6 +94,9 @@ discard block | ||
| 94 | 94 | $this->validateEmailTemplatesConfiguration($configuration, 'email_templates'); | 
| 95 | 95 | } | 
| 96 | 96 | |
| 97 | + /** | |
| 98 | + * @param string $propertyPath | |
| 99 | + */ | |
| 97 | 100 | private function validateGatewayConfiguration($configuration, $propertyPath) | 
| 98 | 101 |      { | 
| 99 | 102 | Assertion::isArray($configuration['gateway'], 'Property "gateway" must have an object as value', $propertyPath); | 
| @@ -101,6 +104,9 @@ discard block | ||
| 101 | 104 | $this->gatewayConfigurationValidator->validate($configuration['gateway'], $propertyPath); | 
| 102 | 105 | } | 
| 103 | 106 | |
| 107 | + /** | |
| 108 | + * @param string $propertyPath | |
| 109 | + */ | |
| 104 | 110 | private function validateSraaConfiguration($configuration, $propertyPath) | 
| 105 | 111 |      { | 
| 106 | 112 | Assertion::isArray( | 
| @@ -118,6 +124,9 @@ discard block | ||
| 118 | 124 | } | 
| 119 | 125 | } | 
| 120 | 126 | |
| 127 | + /** | |
| 128 | + * @param string $propertyPath | |
| 129 | + */ | |
| 121 | 130 | private function validateEmailTemplatesConfiguration($configuration, $propertyPath) | 
| 122 | 131 |      { | 
| 123 | 132 | Assertion::isArray( |