@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | /** |
151 | 151 | * Category create form processing. |
152 | 152 | * |
153 | - * @return Redirect |
|
153 | + * @return \Illuminate\Http\RedirectResponse |
|
154 | 154 | */ |
155 | 155 | public function postCreate() |
156 | 156 | { |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * Delete the given category. |
219 | 219 | * |
220 | 220 | * @param int $id |
221 | - * @return Redirect |
|
221 | + * @return \Illuminate\Http\RedirectResponse |
|
222 | 222 | */ |
223 | 223 | public function getDelete($id = null) |
224 | 224 | { |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | * Restore a deleted category. |
265 | 265 | * |
266 | 266 | * @param int $id |
267 | - * @return Redirect |
|
267 | + * @return \Illuminate\Http\RedirectResponse |
|
268 | 268 | */ |
269 | 269 | public function getRestore($id = null) |
270 | 270 | { |
@@ -1,15 +1,11 @@ |
||
1 | 1 | <?php namespace jlourenco\blog\Controllers; |
2 | 2 | |
3 | -use Illuminate\Http\Request; |
|
4 | -use App\Http\Requests; |
|
5 | -use App\Http\Controllers\Controller; |
|
6 | -use Blog; |
|
7 | -use Sentinel; |
|
8 | -use Searchy; |
|
9 | -use Validator; |
|
10 | -use Input; |
|
11 | -use Base; |
|
12 | -use Redirect; |
|
3 | +use App\Http\Controllers\Controller; |
|
4 | +use Blog; |
|
5 | +use Validator; |
|
6 | +use Input; |
|
7 | +use Base; |
|
8 | +use Redirect; |
|
13 | 9 | use Lang; |
14 | 10 | |
15 | 11 | class CategoryController extends Controller |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * Post update form processing page. |
95 | 95 | * |
96 | 96 | * @param int $id |
97 | - * @return Redirect |
|
97 | + * @return \Illuminate\Http\RedirectResponse |
|
98 | 98 | */ |
99 | 99 | public function postEdit($id = null) |
100 | 100 | { |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | /** |
179 | 179 | * Post create form processing. |
180 | 180 | * |
181 | - * @return Redirect |
|
181 | + * @return \Illuminate\Http\RedirectResponse |
|
182 | 182 | */ |
183 | 183 | public function postCreate() |
184 | 184 | { |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | * Delete the given post. |
253 | 253 | * |
254 | 254 | * @param int $id |
255 | - * @return Redirect |
|
255 | + * @return \Illuminate\Http\RedirectResponse |
|
256 | 256 | */ |
257 | 257 | public function getDelete($id = null) |
258 | 258 | { |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | * Restore a deleted post. |
299 | 299 | * |
300 | 300 | * @param int $id |
301 | - * @return Redirect |
|
301 | + * @return \Illuminate\Http\RedirectResponse |
|
302 | 302 | */ |
303 | 303 | public function getRestore($id = null) |
304 | 304 | { |
@@ -1,15 +1,12 @@ |
||
1 | 1 | <?php namespace jlourenco\blog\Controllers; |
2 | 2 | |
3 | -use Illuminate\Http\Request; |
|
4 | -use App\Http\Requests; |
|
5 | -use App\Http\Controllers\Controller; |
|
6 | -use Blog; |
|
7 | -use Sentinel; |
|
8 | -use Searchy; |
|
9 | -use Validator; |
|
10 | -use Input; |
|
11 | -use Base; |
|
12 | -use Redirect; |
|
3 | +use App\Http\Controllers\Controller; |
|
4 | +use Blog; |
|
5 | +use Sentinel; |
|
6 | +use Validator; |
|
7 | +use Input; |
|
8 | +use Base; |
|
9 | +use Redirect; |
|
13 | 10 | use Lang; |
14 | 11 | |
15 | 12 | class PostController extends Controller |