@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
81 | - * @param $identityId |
|
81 | + * @param string $identityId |
|
82 | 82 | * @param $tokenType |
83 | 83 | * @return UnverifiedSecondFactor|null |
84 | 84 | */ |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
93 | - * @param $identityId |
|
93 | + * @param string $identityId |
|
94 | 94 | * @param $tokenType |
95 | 95 | * @return VerifiedSecondFactor|null |
96 | 96 | */ |
@@ -66,6 +66,7 @@ discard block |
||
66 | 66 | |
67 | 67 | /** |
68 | 68 | * Construct a new aggregate root. Aggregate roots can only be affected by events, so no parameters are allowed. |
69 | + * @return void |
|
69 | 70 | */ |
70 | 71 | public function __construct(); |
71 | 72 | |
@@ -297,13 +298,14 @@ discard block |
||
297 | 298 | public function getVerifiedSecondFactor(SecondFactorId $secondFactorId); |
298 | 299 | |
299 | 300 | /** |
300 | - * @return IdentityId We're deviating from Broadway's official API, as they accept toString-able VOs as IDs, and we |
|
301 | + * @return string We're deviating from Broadway's official API, as they accept toString-able VOs as IDs, and we |
|
301 | 302 | * require the IdentityId VO in our SensitiveDataEventStoreDecorator. |
302 | 303 | */ |
303 | 304 | public function getAggregateRootId(): string; |
304 | 305 | |
305 | 306 | /** |
306 | 307 | * @param int $numberOfTokens |
308 | + * @return void |
|
307 | 309 | */ |
308 | 310 | public function setMaxNumberOfTokens($numberOfTokens); |
309 | 311 | } |
@@ -58,7 +58,7 @@ |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @param Institution $institution |
61 | - * @return Institution |
|
61 | + * @return boolean |
|
62 | 62 | */ |
63 | 63 | public function exists(Institution $institution) |
64 | 64 | { |
@@ -32,6 +32,9 @@ |
||
32 | 32 | return new self('—'); |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $gssfId |
|
37 | + */ |
|
35 | 38 | public function __construct($gssfId) |
36 | 39 | { |
37 | 40 | if (!is_string($gssfId) || trim($gssfId) === '') { |
@@ -32,6 +32,9 @@ |
||
32 | 32 | return new self('+0 (0) 000000000'); |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $phoneNumber |
|
37 | + */ |
|
35 | 38 | public function __construct($phoneNumber) |
36 | 39 | { |
37 | 40 | if (!is_string($phoneNumber)) { |
@@ -40,6 +40,9 @@ |
||
40 | 40 | return new self(self::UNKNOWN); |
41 | 41 | } |
42 | 42 | |
43 | + /** |
|
44 | + * @param string $value |
|
45 | + */ |
|
43 | 46 | public function __construct($value) |
44 | 47 | { |
45 | 48 | if ($value === self::UNKNOWN) { |
@@ -80,7 +80,6 @@ |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
83 | - * @param Throwable $exception |
|
84 | 83 | * @param int $statusCode |
85 | 84 | * @param array $headers OPTIONAL |
86 | 85 | * @return JsonResponse |
@@ -139,6 +139,9 @@ |
||
139 | 139 | ); |
140 | 140 | } |
141 | 141 | |
142 | + /** |
|
143 | + * @param boolean $provePossessionSkipped |
|
144 | + */ |
|
142 | 145 | public function vet(DocumentNumber $documentNumber, $provePossessionSkipped) |
143 | 146 | { |
144 | 147 | if ($provePossessionSkipped) { |
@@ -88,6 +88,9 @@ |
||
88 | 88 | ); |
89 | 89 | } |
90 | 90 | |
91 | + /** |
|
92 | + * @param integer $increments |
|
93 | + */ |
|
91 | 94 | public function replayEvents(OutputInterface $output, $increments) |
92 | 95 | { |
93 | 96 | $preparationProgress = new ProgressBar($output, 3); |