Passed
Branch master (491c94)
by Anton
02:31
created
src/ResourceTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 namespace tuyakhov\jsonapi;
7 7
 
8 8
 
9
-use yii\base\Arrayable;
10 9
 use yii\db\ActiveRecordInterface;
11 10
 use yii\helpers\ArrayHelper;
12 11
 use yii\helpers\Inflector;
Please login to merge, or discard this patch.
src/Serializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         if ($this->modelNamespace === null) {
33 33
             $class = get_class(\Yii::$app);
34 34
             if (($pos = strrpos($class, '\\')) !== false) {
35
-                $this->modelNamespace = substr($class, 0, $pos) . '\\models';
35
+                $this->modelNamespace = substr($class, 0, $pos).'\\models';
36 36
             }
37 37
         }
38 38
         parent::init();
Please login to merge, or discard this patch.