@@ -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 | { |
@@ -64,6 +64,7 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * Construct a new aggregate root. Aggregate roots can only be affected by events, so no parameters are allowed. |
| 67 | + * @return void |
|
| 67 | 68 | */ |
| 68 | 69 | public function __construct(); |
| 69 | 70 | |
@@ -288,6 +289,7 @@ discard block |
||
| 288 | 289 | |
| 289 | 290 | /** |
| 290 | 291 | * @param int $numberOfTokens |
| 292 | + * @return void |
|
| 291 | 293 | */ |
| 292 | 294 | public function setMaxNumberOfTokens($numberOfTokens); |
| 293 | 295 | } |