Completed
Push — bugfix/remove-usage-of-mopa-bo... ( dec083...82d2d0 )
by
unknown
01:57
created
DependencyInjection/SurfnetStepupGatewaySamlStepupProviderExtension.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
         }
54 54
     }
55 55
 
56
+    /**
57
+     * @param string $provider
58
+     */
56 59
     private function loadProviderConfiguration(
57 60
         $provider,
58 61
         array $configuration,
@@ -223,6 +226,9 @@  discard block
 block discarded – undo
223 226
         $container->setDefinition('gssp.provider.' . $provider . '.metadata.factory', $metadataFactory);
224 227
     }
225 228
 
229
+    /**
230
+     * @param string $provider
231
+     */
226 232
     private function createRouteConfig($provider, $routeName)
227 233
     {
228 234
         return [
Please login to merge, or discard this patch.
StepupGateway/U2fVerificationBundle/Repository/RegistrationRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 {
27 27
     /**
28 28
      * @param KeyHandle $keyHandle
29
-     * @return Registration|null
29
+     * @return Registration
30 30
      */
31 31
     public function findByKeyHandle(KeyHandle $keyHandle)
32 32
     {
Please login to merge, or discard this patch.
Surfnet/StepupGateway/U2fVerificationBundle/Service/VerificationService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
 
185 185
     /**
186 186
      * @param KeyHandle $keyHandle
187
-     * @return null|Registration
187
+     * @return Registration
188 188
      */
189 189
     public function findRegistrationByKeyHandle(KeyHandle $keyHandle)
190 190
     {
Please login to merge, or discard this patch.
src/Surfnet/StepupGateway/SecondFactorOnlyBundle/Adfs/StateHandler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @return mixed|null
82
+     * @return string
83 83
      */
84 84
     public function getAuthMethod()
85 85
     {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @return mixed|null
90
+     * @return string
91 91
      */
92 92
     public function getContext()
93 93
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
     /**
112 112
      * @param string $key
113
-     * @param mixed $value Any scalar
113
+     * @param string $value Any scalar
114 114
      */
115 115
     protected function set($key, $value)
116 116
     {
Please login to merge, or discard this patch.
src/Surfnet/StepupGateway/SecondFactorOnlyBundle/Saml/ResponseFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 
150 150
     /**
151 151
      * @param Assertion $assertion
152
-     * @param $authnContextClassRef
152
+     * @param string $authnContextClassRef
153 153
      */
154 154
     private function addAuthenticationStatementTo(Assertion $assertion, $authnContextClassRef)
155 155
     {
Please login to merge, or discard this patch.
Surfnet/StepupGateway/GatewayBundle/Exception/AssertionFailedException.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -27,6 +27,11 @@
 block discarded – undo
27 27
     private $constraints;
28 28
 
29 29
     // @codingStandardsIgnoreStart Compliance with beberlei/assert's invalid argument exception
30
+
31
+    /**
32
+     * @param string $message
33
+     * @param integer $code
34
+     */
30 35
     public function __construct($message, $code, $propertyPath = null, $value, array $constraints = array())
31 36
     {
32 37
         parent::__construct($message, $code);
Please login to merge, or discard this patch.
src/Surfnet/StepupGateway/GatewayBundle/Entity/ServiceProvider.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * it matches one of the configured allowed ACS locations for the service
83 83
      * provider. This methods checks if a given URL matches the allowed URLs.
84 84
      *
85
-     * @param $acsLocationInAuthnRequest
85
+     * @param string|null $acsLocationInAuthnRequest
86 86
      * @param LoggerInterface $logger Optional
87 87
      * @return string
88 88
      */
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      *     https://example.com/consume
128 128
      *
129 129
      *
130
-     * @param $acsLocationInAuthnRequest
130
+     * @param string|null $acsLocationInAuthnRequest
131 131
      * @return string
132 132
      */
133 133
     public function determineAcsLocationForAdfs($acsLocationInAuthnRequest)
Please login to merge, or discard this patch.
StepupGateway/SamlStepupProviderBundle/Controller/SamlProxyController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -260,6 +260,7 @@
 block discarded – undo
260 260
      *
261 261
      * @param Provider $provider
262 262
      * @param string $destination
263
+     * @param string $message
263 264
      * @return SAMLResponse
264 265
      */
265 266
     private function createResponseFailureResponse(Provider $provider, $destination, $message)
Please login to merge, or discard this patch.
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.