Completed
Pull Request — develop (#193)
by Michiel
01:51
created
tests/features/bootstrap/ServiceProviderContext.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@
 block discarded – undo
109 109
         $this->registerIdp($entityId, false);
110 110
     }
111 111
 
112
+    /**
113
+     * @param boolean $sfoEnabled
114
+     */
112 115
     private function registerSp($entityId, $sfoEnabled)
113 116
     {
114 117
         $publicKeyLoader = new KeyLoader();
Please login to merge, or discard this patch.
tests/src/Repository/SamlEntityRepository.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -23,6 +23,10 @@  discard block
 block discarded – undo
23 23
         $this->connection = $connection;
24 24
     }
25 25
 
26
+    /**
27
+     * @param string $entityId
28
+     * @param string $certificate
29
+     */
26 30
     public function createSpIfNotExists($entityId, $certificate, $sfoEnabled = false)
27 31
     {
28 32
         // Does the SP exist?
@@ -81,6 +85,10 @@  discard block
 block discarded – undo
81 85
         }
82 86
     }
83 87
 
88
+    /**
89
+     * @param string $entityId
90
+     * @param string $certificate
91
+     */
84 92
     public function createIdpIfNotExists($entityId, $certificate)
85 93
     {
86 94
         // Does the SP exist?
Please login to merge, or discard this patch.
tests/src/Controller/IdentityProviderController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * @param string $destination
65 65
      * @param string $nameId
66
+     * @param string $requestId
66 67
      * @return Response
67 68
      */
68 69
     public function createResponse($destination, array $nameId, $requestId)
@@ -157,6 +158,9 @@  discard block
 block discarded – undo
157 158
         return $assertion;
158 159
     }
159 160
 
161
+    /**
162
+     * @param string $destination
163
+     */
160 164
     private function addSubjectConfirmationFor(Assertion $newAssertion, $destination, $requestId)
161 165
     {
162 166
         $confirmation = new SubjectConfirmation();
Please login to merge, or discard this patch.
Surfnet/StepupGateway/GatewayBundle/Controller/SecondFactorController.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -382,7 +382,6 @@  discard block
 block discarded – undo
382 382
     /**
383 383
      * @Template
384 384
      * @param Request $request
385
-     * @param string $authenticationMode
386 385
      * @return array|Response
387 386
      */
388 387
     public function verifySmsSecondFactorAction(Request $request)
@@ -441,7 +440,6 @@  discard block
 block discarded – undo
441 440
     /**
442 441
      * @Template
443 442
      * @param Request $request
444
-     * @param string $authenticationMode
445 443
      * @return array|Response
446 444
      */
447 445
     public function verifySmsSecondFactorChallengeAction(Request $request)
@@ -562,7 +560,6 @@  discard block
 block discarded – undo
562 560
      * @Template("SurfnetStepupGatewayGatewayBundle:SecondFactor:initiateU2fAuthentication.html.twig")
563 561
      *
564 562
      * @param Request $request
565
-     * @param string $authenticationMode
566 563
      * @return array|Response
567 564
      */
568 565
     public function verifyU2fAuthenticationAction(Request $request)
Please login to merge, or discard this patch.