@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace NavJobs\Transmit; |
| 4 | 4 | |
| 5 | 5 | use League\Fractal\Manager; |
| 6 | -use League\Fractal\ParamBag; |
|
| 7 | 6 | use League\Fractal\Pagination\PaginatorInterface; |
| 7 | +use League\Fractal\ParamBag; |
|
| 8 | 8 | use League\Fractal\Serializer\SerializerAbstract; |
| 9 | 9 | use NavJobs\Transmit\Exceptions\InvalidTransformation; |
| 10 | 10 | use NavJobs\Transmit\Exceptions\NoTransformerSpecified; |
@@ -164,7 +164,7 @@ |
||
| 164 | 164 | /** |
| 165 | 165 | * Specify the includes. |
| 166 | 166 | * |
| 167 | - * @param array|string $includes Array or csv string of resources to include |
|
| 167 | + * @param string $includes Array or csv string of resources to include |
|
| 168 | 168 | * |
| 169 | 169 | * @return $this |
| 170 | 170 | */ |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NavJobs\Transmit\Transmitters; |
| 4 | 4 | |
| 5 | -use NavJobs\Transmit\Controller; |
|
| 6 | - |
|
| 7 | 5 | trait Destroy |
| 8 | 6 | { |
| 9 | 7 | /** |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * Display the specified resource. |
| 11 | 11 | * |
| 12 | - * @param int $id |
|
| 13 | 12 | * @return \Illuminate\Http\Response |
| 14 | 13 | */ |
| 15 | 14 | public function index() |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NavJobs\Transmit\Transmitters; |
| 4 | 4 | |
| 5 | -use NavJobs\Transmit\Controller; |
|
| 6 | - |
|
| 7 | 5 | trait Index |
| 8 | 6 | { |
| 9 | 7 | /** |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NavJobs\Transmit\Transmitters; |
| 4 | 4 | |
| 5 | -use NavJobs\Transmit\Controller; |
|
| 6 | - |
|
| 7 | 5 | trait Show |
| 8 | 6 | { |
| 9 | 7 | /** |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * Store a newly created resource in storage. |
| 11 | 11 | * |
| 12 | - * @param \Illuminate\Http\Request $request |
|
| 13 | 12 | * @return \Illuminate\Http\Response |
| 14 | 13 | */ |
| 15 | 14 | public function store() |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NavJobs\Transmit\Transmitters; |
| 4 | 4 | |
| 5 | -use NavJobs\Transmit\Controller; |
|
| 6 | - |
|
| 7 | 5 | trait Store |
| 8 | 6 | { |
| 9 | 7 | /** |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NavJobs\Transmit\Transmitters; |
| 4 | 4 | |
| 5 | -use NavJobs\Transmit\Controller; |
|
| 6 | 5 | use Illuminate\Http\Request; |
| 7 | 6 | |
| 8 | 7 | trait Update |