Completed
Push — master ( b09517...57901d )
by
unknown
18:40
created
src/services/EditProvider.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,6 @@
 block discarded – undo
276 276
 
277 277
     /**
278 278
      * @param ProviderInterface $provider
279
-     * @param array $variables
280 279
      * @return array
281 280
      */
282 281
     public function addUrls(ProviderInterface $provider)
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,6 +3,10 @@  discard block
 block discarded – undo
3 3
 
4 4
 namespace flipbox\saml\core\services;
5 5
 
6
+use SAML2\XML\md\EndpointType;
7
+use SAML2\XML\md\IDPSSODescriptor;
8
+use SAML2\XML\md\IndexedEndpointType;
9
+use SAML2\XML\md\SPSSODescriptor;
6 10
 use craft\base\Component;
7 11
 use craft\helpers\UrlHelper;
8 12
 use flipbox\keychain\KeyChain;
@@ -10,10 +14,6 @@  discard block
 block discarded – undo
10 14
 use flipbox\saml\core\models\AbstractSettings;
11 15
 use flipbox\saml\core\models\SettingsInterface;
12 16
 use flipbox\saml\core\records\ProviderInterface;
13
-use SAML2\XML\md\EndpointType;
14
-use SAML2\XML\md\IDPSSODescriptor;
15
-use SAML2\XML\md\IndexedEndpointType;
16
-use SAML2\XML\md\SPSSODescriptor;
17 17
 
18 18
 class EditProvider extends Component
19 19
 {
Please login to merge, or discard this patch.
src/services/Metadata.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,6 @@  discard block
 block discarded – undo
89 89
 
90 90
     /**
91 91
      * @param SettingsInterface $settings
92
-     * @param KeyChainRecord|null $withKeyPair
93 92
      * @return EntityDescriptor
94 93
      * @throws InvalidConfigException
95 94
      */
@@ -138,7 +137,7 @@  discard block
 block discarded – undo
138 137
 
139 138
     /**
140 139
      * @param string $binding
141
-     * @return IdpSsoDescriptor|SpSsoDescriptor
140
+     * @return SSODescriptorType
142 141
      * @throws InvalidConfigException
143 142
      */
144 143
     protected function createDescriptor(
Please login to merge, or discard this patch.
Unused Use Statements   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,14 +2,6 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace flipbox\saml\core\services;
4 4
 
5
-use craft\base\Component;
6
-use flipbox\keychain\records\KeyChainRecord;
7
-use flipbox\saml\core\helpers\SecurityHelper;
8
-use flipbox\saml\core\helpers\UrlHelper;
9
-use flipbox\saml\core\models\AbstractSettings;
10
-use flipbox\saml\core\models\SettingsInterface;
11
-use flipbox\saml\core\records\AbstractProvider;
12
-use flipbox\saml\core\records\traits\KeyChain;
13 5
 use GuzzleHttp\Client;
14 6
 use SAML2\Certificate\Key;
15 7
 use SAML2\Constants;
@@ -24,6 +16,13 @@  discard block
 block discarded – undo
24 16
 use SAML2\XML\md\KeyDescriptor;
25 17
 use SAML2\XML\md\SPSSODescriptor;
26 18
 use SAML2\XML\md\SSODescriptorType;
19
+use craft\base\Component;
20
+use flipbox\keychain\records\KeyChainRecord;
21
+use flipbox\saml\core\helpers\SecurityHelper;
22
+use flipbox\saml\core\helpers\UrlHelper;
23
+use flipbox\saml\core\models\AbstractSettings;
24
+use flipbox\saml\core\models\SettingsInterface;
25
+use flipbox\saml\core\records\AbstractProvider;
27 26
 use yii\base\Event;
28 27
 use yii\base\InvalidConfigException;
29 28
 
Please login to merge, or discard this patch.