@@ -68,7 +68,7 @@ |
||
68 | 68 | /** |
69 | 69 | * Return an instance of the resource by primary key. |
70 | 70 | * |
71 | - * @param mixed $key |
|
71 | + * @param integer $key |
|
72 | 72 | * |
73 | 73 | * @throws \Illuminate\Database\Eloquent\ModelNotFoundException |
74 | 74 | * |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Huntie\JsonApi\Http\Controllers; |
4 | 4 | |
5 | -use DB; |
|
6 | 5 | use Huntie\JsonApi\Support\JsonApiErrors; |
7 | 6 | use Huntie\JsonApi\Http\JsonApiResponse; |
8 | 7 | use Illuminate\Database\Eloquent\Model; |