Passed
Push — master ( 9efe7c...a42e22 )
by Anton
35s
created
src/actions/UpdateAction.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@
 block discarded – undo
5 5
 
6 6
 namespace tuyakhov\jsonapi\actions;
7 7
 
8
+use Yii;
8 9
 use yii\base\Model;
9 10
 use yii\db\ActiveRecord;
10
-use Yii;
11 11
 use yii\web\ServerErrorHttpException;
12 12
 
13 13
 class UpdateAction extends Action
Please login to merge, or discard this patch.
src/actions/UpdateRelationshipAction.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,12 +5,11 @@
 block discarded – undo
5 5
 
6 6
 namespace tuyakhov\jsonapi\actions;
7 7
 
8
-use tuyakhov\jsonapi\ResourceInterface;
8
+use Yii;
9 9
 use yii\data\ActiveDataProvider;
10 10
 use yii\db\BaseActiveRecord;
11 11
 use yii\web\BadRequestHttpException;
12 12
 use yii\web\NotFoundHttpException;
13
-use Yii;
14 13
 
15 14
 /**
16 15
  * UpdateRelationshipAction implements the API endpoint for updating relationships.
Please login to merge, or discard this patch.