Completed
Pull Request — master (#86)
by
unknown
03:11
created
app/FileUploadTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -5,6 +5,9 @@
 block discarded – undo
5 5
 
6 6
 trait FileUploadTrait
7 7
 {
8
+	/**
9
+	 * @param string $attribute
10
+	 */
8 11
 	public function uploadFile($attribute, $file)
9 12
 	{
10 13
 		$existingFile = $this->getAttribute($attribute);
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/AlbumReviewController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use WITR\Http\Controllers\Controller;
5 5
 use WITR\AlbumReview;
6 6
 use File;
7
-use Carbon\Carbon;
8 7
 
9 8
 class AlbumReviewController extends Controller {
10 9
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 	/**
21 21
 	 * Display a listing of the Shows.
22 22
 	 *
23
-	 * @return Response
23
+	 * @return \Illuminate\View\View
24 24
 	 */
25 25
 	public function index()
26 26
 	{
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	/**
32 32
 	 * Display a listing of the resource.
33 33
 	 *
34
-	 * @return Response
34
+	 * @return \Illuminate\View\View
35 35
 	 */
36 36
 	public function new_show()
37 37
 	{
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/DJController.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -6,12 +6,7 @@
 block discarded – undo
6 6
 use WITR\Http\Controllers\Controller;
7 7
 use WITR\DJ;
8 8
 use WITR\TimeSlot;
9
-use Input;
10 9
 use File;
11
-use Hash;
12
-
13
-use Illuminate\Http\Request;
14
-use Illuminate\Contracts\Auth\PasswordBroker;
15 10
 
16 11
 class DJController extends Controller {
17 12
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 	/**
21 21
 	 * Display a listing of the Shows.
22 22
 	 *
23
-	 * @return Response
23
+	 * @return \Illuminate\View\View
24 24
 	 */
25 25
 	public function index()
26 26
 	{
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	/**
32 32
 	 * Display a listing of the resource.
33 33
 	 *
34
-	 * @return Response
34
+	 * @return \Illuminate\View\View
35 35
 	 */
36 36
 	public function new_show()
37 37
 	{
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/EventController.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,8 @@
 block discarded – undo
4 4
 use WITR\Http\Controllers\Controller;
5 5
 use WITR\Event;
6 6
 use Carbon\Carbon;
7
-use Input;
8 7
 use File;
9 8
 
10
-use Illuminate\Http\Request;
11
-
12 9
 class EventController extends Controller {
13 10
 
14 11
 	public function __construct()
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 	/**
21 21
 	 * Display a listing of the Shows.
22 22
 	 *
23
-	 * @return Response
23
+	 * @return \Illuminate\View\View
24 24
 	 */
25 25
 	public function index()
26 26
 	{
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	/**
32 32
 	 * Display a listing of the resource.
33 33
 	 *
34
-	 * @return Response
34
+	 * @return \Illuminate\View\View
35 35
 	 */
36 36
 	public function new_show()
37 37
 	{
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/ScheduleController.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 	/**
30 30
 	 * Update the specified resource in storage.
31 31
 	 *
32
-	 * @param  int  $id
33 32
 	 * @return Response
34 33
 	 */
35 34
 	public function update(Request $request)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,7 @@
 block discarded – undo
1 1
 <?php namespace WITR\Http\Controllers\Admin;
2 2
 
3
-use WITR\Http\Requests;
4 3
 use WITR\Http\Controllers\Controller;
5 4
 use WITR\SystemSetting;
6
-
7 5
 use Illuminate\Http\Request;
8 6
 
9 7
 class SystemSettingController extends Controller {
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/ShowController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 	/**
21 21
 	 * Display a listing of the Shows.
22 22
 	 *
23
-	 * @return Response
23
+	 * @return \Illuminate\View\View
24 24
 	 */
25 25
 	public function index()
26 26
 	{
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	/**
32 32
 	 * Display a listing of the resource.
33 33
 	 *
34
-	 * @return Response
34
+	 * @return \Illuminate\View\View
35 35
 	 */
36 36
 	public function new_show()
37 37
 	{
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,11 +3,7 @@
 block discarded – undo
3 3
 use WITR\Http\Requests\Admin\Show as Requests;
4 4
 use WITR\Http\Controllers\Controller;
5 5
 use WITR\Show;
6
-use Input;
7 6
 use File;
8
-use Carbon\Carbon;
9
-
10
-use Illuminate\Http\Request;
11 7
 
12 8
 class ShowController extends Controller {
13 9
 
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/SystemSettingController.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
 	/**
30 30
 	 * Update the specified resource in storage.
31 31
 	 *
32
-	 * @param  int  $id
33
-	 * @return Response
32
+	 * @return \Illuminate\Http\RedirectResponse
34 33
 	 */
35 34
 	public function update(Request $request)
36 35
 	{
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,7 @@
 block discarded – undo
1 1
 <?php namespace WITR\Http\Controllers\Admin;
2 2
 
3
-use WITR\Http\Requests;
4 3
 use WITR\Http\Controllers\Controller;
5 4
 use WITR\SystemSetting;
6
-
7 5
 use Illuminate\Http\Request;
8 6
 
9 7
 class SystemSettingController extends Controller {
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/UserController.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 	/**
27 27
 	 * Display a listing of the Users.
28 28
 	 *
29
-	 * @return Response
29
+	 * @return \Illuminate\View\View
30 30
 	 */
31 31
 	public function index()
32 32
 	{
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	/**
44 44
 	 * Show the form for creating a new resource.
45 45
 	 *
46
-	 * @return Response
46
+	 * @return \Illuminate\Http\RedirectResponse|null
47 47
 	 */
48 48
 	public function create(Requests\CreateRequest $request)
49 49
 	{
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	 * Show the form for editing the specified resource.
72 72
 	 *
73 73
 	 * @param  int  $id
74
-	 * @return Response
74
+	 * @return \Illuminate\View\View
75 75
 	 */
76 76
 	public function edit($id)
77 77
 	{
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 	 * Remove the specified resource from storage.
97 97
 	 *
98 98
 	 * @param  int  $id
99
-	 * @return Response
99
+	 * @return \Illuminate\Http\RedirectResponse
100 100
 	 */
101 101
 	public function delete($id)
102 102
 	{
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -6,11 +6,7 @@
 block discarded – undo
6 6
 use WITR\Http\Controllers\Controller;
7 7
 use WITR\User;
8 8
 use WITR\Role;
9
-use Input;
10 9
 use File;
11
-use Hash;
12
-
13
-use Illuminate\Http\Request;
14 10
 use Illuminate\Contracts\Auth\PasswordBroker;
15 11
 
16 12
 class UserController extends Controller {
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/VideoController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 	/**
19 19
 	 * Display a listing of the Videos.
20 20
 	 *
21
-	 * @return Response
21
+	 * @return \Illuminate\View\View
22 22
 	 */
23 23
 	public function index()
24 24
 	{
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 	/**
30 30
 	 * Display a listing of the resource.
31 31
 	 *
32
-	 * @return Response
32
+	 * @return \Illuminate\View\View
33 33
 	 */
34 34
 	public function new_review()
35 35
 	{
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 	/**
40 40
 	* Save the new eboard position.
41 41
 	*
42
-	*@return Response
42
+	*@return \Illuminate\Http\RedirectResponse
43 43
 	*/
44 44
 	public function create(Requests\CreateRequest $request)
45 45
 	{
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 use WITR\Http\Requests\Admin\Video as Requests;
4 4
 use WITR\Http\Controllers\Controller;
5 5
 use WITR\Video;
6
-use Input;
7
-
8
-use Illuminate\Http\Request;
9 6
 
10 7
 class VideoController extends Controller {
11 8
 
Please login to merge, or discard this patch.