Completed
Push — master ( ff11b3...fd6c95 )
by Damien
10:30
created
src/models/JsonModel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 {
8 8
 
9 9
     /**
10
-     * @return array|mixed
10
+     * @return string
11 11
      */
12 12
     public function __toString()
13 13
     {
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     /**
18 18
      * @param string $json
19
-     * @return mixed
19
+     * @return JsonModel
20 20
      */
21 21
     public static function jsonUnserialize(string $json)
22 22
     {
Please login to merge, or discard this patch.
src/models/MetadataOptions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
     /**
65 65
      * @param string|null $expiry
66
-     * @return \DateTime
66
+     * @return MetadataOptions
67 67
      */
68 68
     public function setExpiryDate($expiry)
69 69
     {
Please login to merge, or discard this patch.
src/records/AbstractProvider.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace flipbox\saml\core\records;
4 4
 
5
+use SAML2\DOMDocumentFactory;
6
+use SAML2\XML\md\EntityDescriptor;
5 7
 use craft\db\ActiveRecord;
6 8
 use flipbox\keychain\records\KeyChainRecord;
7 9
 use flipbox\saml\core\models\GroupOptions;
8 10
 use flipbox\saml\core\models\MetadataOptions;
9 11
 use flipbox\saml\core\records\traits\Ember;
10
-use SAML2\DOMDocumentFactory;
11
-use SAML2\XML\md\EntityDescriptor;
12 12
 use yii\db\ActiveQuery;
13 13
 
14 14
 /**
Please login to merge, or discard this patch.
src/services/Metadata.php 1 patch
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,12 +2,7 @@  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\models\SettingsInterface;
9 5
 use GuzzleHttp\Client;
10
-use Psr\Http\Message\UriInterface;
11 6
 use SAML2\Certificate\Key;
12 7
 use SAML2\Constants;
13 8
 use SAML2\DOMDocumentFactory;
@@ -15,12 +10,16 @@  discard block
 block discarded – undo
15 10
 use SAML2\XML\ds\X509Certificate;
16 11
 use SAML2\XML\ds\X509Data;
17 12
 use SAML2\XML\md\EndpointType;
18
-use SAML2\XML\md\IndexedEndpointType;
19 13
 use SAML2\XML\md\EntityDescriptor;
20 14
 use SAML2\XML\md\IDPSSODescriptor;
15
+use SAML2\XML\md\IndexedEndpointType;
21 16
 use SAML2\XML\md\KeyDescriptor;
22 17
 use SAML2\XML\md\SPSSODescriptor;
23 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\models\SettingsInterface;
24 23
 use yii\base\Event;
25 24
 use yii\base\InvalidConfigException;
26 25
 
Please login to merge, or discard this patch.