Completed
Pull Request — staging (#34)
by John
02:26
created
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/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 1 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 1 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/Providers/AppServiceProvider.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Support\ServiceProvider;
6 6
 use Validator;
7
-use LearnParty\Category;
8 7
 
9 8
 class AppServiceProvider extends ServiceProvider
10 9
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function boot()
17 17
     {
18
-        Validator::extend('youtube_url', function ($attribute, $value, $parameters, $validator) {
18
+        Validator::extend('youtube_url', function($attribute, $value, $parameters, $validator) {
19 19
 
20 20
             $urlParts = [
21 21
                 'scheme',
Please login to merge, or discard this patch.
app/Video.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class Video extends Model
8 8
 {
9
-    protected $fillable  =[
9
+    protected $fillable = [
10 10
         'title',
11 11
         'url',
12 12
         'description',
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function map(Router $router)
39 39
     {
40
-        $router->group(['namespace' => $this->namespace], function ($router) {
40
+        $router->group(['namespace' => $this->namespace], function($router) {
41 41
             require app_path('Http/routes.php');
42 42
         });
43 43
     }
Please login to merge, or discard this patch.