Completed
Pull Request — staging (#34)
by John
02:26
created
app/Http/Controllers/Auth/AuthController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      *
97 97
      * @codeCoverageIgnore
98 98
      *
99
-     * @return Response
99
+     * @return \Illuminate\Http\RedirectResponse
100 100
      */
101 101
     public function handleProviderCallback($provider)
102 102
     {
Please login to merge, or discard this patch.
app/Http/Controllers/CategoryController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace LearnParty\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-use LearnParty\Http\Requests;
7 5
 use LearnParty\Category;
8 6
 
9 7
 class CategoryController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/DashboardController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * to
29 29
      *
30 30
      * @param  VideoRequest $request Request
31
-     * @return Redirect to create page
31
+     * @return \Illuminate\Http\RedirectResponse to create page
32 32
      */
33 33
     public function store(VideoRequest $request)
34 34
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      *
66 66
      * @param  VideoRequest $request  Validation request
67 67
      * @param  integer       $id      Video Id
68
-     * @return Redirect               Redirect to episode page
68
+     * @return \Illuminate\Http\RedirectResponse               Redirect to episode page
69 69
      */
70 70
     public function update(VideoRequest $request, $id)
71 71
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace LearnParty\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use LearnParty\Http\Requests;
7 6
 use LearnParty\User;
8 7
 use Auth;
9 8
 
Please login to merge, or discard this patch.
app/Http/Controllers/FavoritesController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace LearnParty\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use LearnParty\Http\Requests;
7 6
 use LearnParty\Favorite;
8
-use LearnParty\Video;
9 7
 use Auth;
10 8
 
11 9
 class FavoritesController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace LearnParty\Http\Controllers;
4 4
 
5
-use LearnParty\Http\Requests;
6
-use Illuminate\Http\Request;
7 5
 use LearnParty\Video;
8 6
 
9 7
 class HomeController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/UserController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * upload an avatar to cloudinary and return url.
47 47
      *
48 48
      * @param  Request $request Request from user
49
-     * @return Object           redirect to profile page
49
+     * @return \Illuminate\Http\RedirectResponse           redirect to profile page
50 50
      */
51 51
     public function updateAvatar(Request $request)
52 52
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace LearnParty\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use LearnParty\Http\Requests;
7 6
 use LearnParty\User;
8 7
 use Auth;
9 8
 
Please login to merge, or discard this patch.
app/Http/Controllers/VideoController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,11 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace LearnParty\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-use LearnParty\Http\Requests;
7 5
 use LearnParty\Video;
8
-use LearnParty\Comment;
9
-use LearnParty\User;
10 6
 
11 7
 class VideoController extends Controller
12 8
 {
Please login to merge, or discard this patch.
app/Http/Repositories/UserRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     /**
41 41
      * upload an avatar to cloudinary and return url
42 42
      *
43
-     * @param  Request $request Request from user
43
+     * @param  \Illuminate\Http\Request $request Request from user
44 44
      * @return string           Cloudinary Url
45 45
      */
46 46
     public function uploadAvatar($request)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace LearnParty\Http\Repositories;
4 4
 
5
-use Illuminate\Contracts\Filesystem\Filesystem;
6 5
 use LearnParty\User;
7
-use Storage;
8 6
 use Auth;
9 7
 use Cloudder;
10 8
 
Please login to merge, or discard this patch.
app/Http/Repositories/VideoRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * Get a single video
15 15
      *
16
+     * @param integer $id
16 17
      * @return void
17 18
      */
18 19
     public function getVideo($id)
Please login to merge, or discard this patch.