Completed
Push — feature/test-php-7-2-in-travis ( f507bf...0c63c7 )
by
unknown
03:27 queued 12s
created
src/Surfnet/Stepup/Identity/Entity/RegistrationAuthorityCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * @param Institution $institution
50
-     * @return RegistrationAuthority
50
+     * @return boolean
51 51
      */
52 52
     public function exists(Institution $institution)
53 53
     {
Please login to merge, or discard this patch.
src/Surfnet/Stepup/Identity/Entity/InstitutionCollection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
     /**
51 51
      * @param Institution $institution
52
-     * @return Institution
52
+     * @return InstitutionRole
53 53
      */
54 54
     public function get(Institution $institution)
55 55
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Surfnet/Stepup/Identity/Event/AppointedAsRaaEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @return mixed The object instance
56
+     * @return AppointedAsRaaEvent The object instance
57 57
      */
58 58
     public static function deserialize(array $data)
59 59
     {
Please login to merge, or discard this patch.
src/Surfnet/Stepup/Identity/Event/AppointedAsRaEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @return mixed The object instance
56
+     * @return AppointedAsRaEvent The object instance
57 57
      */
58 58
     public static function deserialize(array $data)
59 59
     {
Please login to merge, or discard this patch.
src/Surfnet/Stepup/Identity/Api/Identity.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,6 +66,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
StepupMiddleware/ApiBundle/Identity/Repository/RaListingRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * @param IdentityId $identityId The RA's identity id.
50
-     * @return null|RaListing[]
50
+     * @return RaListing[]
51 51
      */
52 52
     public function findByIdentityId(IdentityId $identityId)
53 53
     {
Please login to merge, or discard this patch.
ManagementBundle/Validator/ReconfigureInstitutionRequestValidator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
     /**
243 243
      * @param string[] $institutions
244
-     * @param $configuredInstitutions
244
+     * @param string[] $configuredInstitutions
245 245
      * @return string[]
246 246
      */
247 247
     public function determineNonExistentInstitutions(array $institutions, $configuredInstitutions)
@@ -270,8 +270,8 @@  discard block
 block discarded – undo
270 270
      *  - Or be empty
271 271
      *
272 272
      * @param $authorizationSettings
273
-     * @param $institution
274
-     * @param $propertyPath
273
+     * @param string $institution
274
+     * @param string $propertyPath
275 275
      * @throws \Assert\AssertionFailedException
276 276
      */
277 277
     private function validateAuthorizationSettings($authorizationSettings, $institution, $propertyPath)
Please login to merge, or discard this patch.
MiddlewareBundle/Console/Command/AbstractBootstrapCommand.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -93,6 +93,10 @@  discard block
 block discarded – undo
93 93
         return true;
94 94
     }
95 95
 
96
+    /**
97
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity
98
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\VerifiedSecondFactor|null $verifiedSecondFactor
99
+     */
96 100
     protected function vetSecondFactor($tokenType, $actorId, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber)
97 101
     {
98 102
         $command = new VetSecondFactorCommand();
@@ -117,6 +121,10 @@  discard block
 block discarded – undo
117 121
         $this->enricher->setMetadata($metadata);
118 122
     }
119 123
 
124
+    /**
125
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity
126
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\UnverifiedSecondFactor|null $unverifiedSecondFactor
127
+     */
120 128
     protected function verifyEmail($identity, $unverifiedSecondFactor)
121 129
     {
122 130
         $command = new VerifyEmailCommand();
Please login to merge, or discard this patch.
MiddlewareBundle/Service/VerifiedSecondFactorReminderMailService.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -167,6 +167,7 @@
 block discarded – undo
167 167
      * @param string $email
168 168
      * @param DateTime $requestedAt
169 169
      * @param $registrationCode
170
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Configuration\Entity\RaLocation[] $raLocations
170 171
      * @return int
171 172
      */
172 173
     private function sendReminderWithInstitution(
Please login to merge, or discard this patch.