Completed
Branch devel (e72808)
by Philippe
04:52
created
src/controllers/AuthorizeController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 
17 17
 use OAuth2\Request as OAuth2Request;
18 18
 use OAuth2\Response as OAuth2Response;
19
-use sweelix\oauth2\server\models\Client;
20 19
 use sweelix\oauth2\server\models\Scope;
21 20
 use sweelix\oauth2\server\Module;
22 21
 use yii\web\Controller;
Please login to merge, or discard this patch.
src/models/BaseModel.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 
130 130
     /**
131 131
      * Returns the old key value of the object
132
-     * @return mixed|null
132
+     * @return string
133 133
      * @since XXX
134 134
      */
135 135
     public function getOldKey()
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
      * If this record is the result of a query and the attribute is not loaded,
218 218
      * null will be returned.
219 219
      * @param string $name the attribute name
220
-     * @return mixed the old attribute value. Null if the attribute is not loaded before
220
+     * @return string the old attribute value. Null if the attribute is not loaded before
221 221
      * or does not exist.
222 222
      * @see hasAttribute()
223 223
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use yii\base\InvalidParamException;
19 19
 use yii\base\Model;
20 20
 use yii\base\ModelEvent;
21
-use Yii;
22 21
 use Exception;
23 22
 use yii\base\NotSupportedException;
24 23
 use yii\helpers\Inflector;
Please login to merge, or discard this patch.
src/services/Oauth.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @param mixed $config
88
+     * @param \yii\base\Module|null $module
88 89
      * @return array Oauth server configuration
89 90
      * @since XXX
90 91
      */
Please login to merge, or discard this patch.
src/services/redis/BaseService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 namespace sweelix\oauth2\server\services\redis;
16 16
 
17 17
 use sweelix\oauth2\server\interfaces\BaseModelInterface;
18
-use sweelix\oauth2\server\models\BaseModel;
19 18
 use sweelix\oauth2\server\traits\redis\TypeConverter;
20 19
 use yii\base\Object;
21 20
 use yii\helpers\Json;
Please login to merge, or discard this patch.
src/services/redis/JtiService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use sweelix\oauth2\server\interfaces\JtiServiceInterface;
21 21
 use yii\db\Exception as DatabaseException;
22 22
 use Yii;
23
-use Exception;
24 23
 
25 24
 /**
26 25
  * This is the jti service for redis
Please login to merge, or discard this patch.
src/services/redis/JwtService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use sweelix\oauth2\server\interfaces\JwtServiceInterface;
21 21
 use yii\db\Exception as DatabaseException;
22 22
 use Yii;
23
-use Exception;
24 23
 
25 24
 /**
26 25
  * This is the jwt service for redis
Please login to merge, or discard this patch.