@@ -5,9 +5,9 @@ |
||
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 |
@@ -5,11 +5,11 @@ |
||
5 | 5 | |
6 | 6 | namespace tuyakhov\jsonapi\actions; |
7 | 7 | |
8 | +use Yii; |
|
8 | 9 | use yii\data\ActiveDataProvider; |
9 | 10 | use yii\db\BaseActiveRecord; |
10 | 11 | use yii\web\BadRequestHttpException; |
11 | 12 | use yii\web\NotFoundHttpException; |
12 | -use Yii; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * UpdateRelationshipAction implements the API endpoint for updating relationships. |