We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | /** |
111 | 111 | * Store a newly created resource in the database. |
112 | 112 | * |
113 | - * @return Response |
|
113 | + * @return \Illuminate\Http\RedirectResponse|null |
|
114 | 114 | */ |
115 | 115 | public function storeCrud(StoreRequest $request = null) |
116 | 116 | { |
@@ -187,8 +187,7 @@ discard block |
||
187 | 187 | /** |
188 | 188 | * Update the specified resource in the database. |
189 | 189 | * |
190 | - * @param int $id |
|
191 | - * @return Response |
|
190 | + * @return \Illuminate\Http\RedirectResponse |
|
192 | 191 | */ |
193 | 192 | public function updateCrud(UpdateRequest $request = null) |
194 | 193 | { |
@@ -242,7 +241,7 @@ discard block |
||
242 | 241 | * Remove the specified resource from storage. |
243 | 242 | * |
244 | 243 | * @param int $id |
245 | - * @return Response |
|
244 | + * @return string |
|
246 | 245 | */ |
247 | 246 | public function destroy($id) |
248 | 247 | { |
@@ -4,12 +4,9 @@ |
||
4 | 4 | use Illuminate\Routing\Controller as BaseController; |
5 | 5 | use Illuminate\Foundation\Validation\ValidatesRequests; |
6 | 6 | use Illuminate\Http\Request; |
7 | -use Crypt; |
|
8 | -use Illuminate\Support\Facades\Form as Form; |
|
9 | 7 | use Alert; |
10 | 8 | |
11 | 9 | // VALIDATION: change the requests to match your own file names if you need form validation |
12 | -use Backpack\CRUD\app\Http\Requests\CrudRequest as StoreRequest; |
|
13 | 10 | use Backpack\CRUD\app\Http\Requests\CrudRequest as UpdateRequest; |
14 | 11 | |
15 | 12 | class CrudController extends BaseController { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace Backpack\CRUD; |
3 | 3 | |
4 | 4 | use Illuminate\Support\ServiceProvider; |
5 | -use Illuminate\Routing\Router; |
|
6 | 5 | use Route; |
7 | 6 | |
8 | 7 | class CrudServiceProvider extends ServiceProvider |
@@ -68,7 +68,7 @@ |
||
68 | 68 | * Return the entity with fake fields as attributes. |
69 | 69 | * |
70 | 70 | * @param array $columns - the database columns that contain the JSONs |
71 | - * @return obj |
|
71 | + * @return CrudTrait |
|
72 | 72 | */ |
73 | 73 | public function withFakes($columns = []) |
74 | 74 | { |
@@ -1,6 +1,5 @@ |
||
1 | 1 | <?php namespace Backpack\CRUD; |
2 | 2 | |
3 | -use Illuminate\Database\Eloquent\Model; |
|
4 | 3 | use DB; |
5 | 4 | use Lang; |
6 | 5 |