Completed
Pull Request — 2.0 (#53)
by
unknown
02:51
created
Providers/BlogServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,13 +41,13 @@  discard block
 block discarded – undo
41 41
     public function boot()
42 42
     {
43 43
         $this->publishes([
44
-            __DIR__ . '/../Resources/views' => base_path('resources/views/asgard/blog'),
44
+            __DIR__.'/../Resources/views' => base_path('resources/views/asgard/blog'),
45 45
         ]);
46 46
 
47 47
         $this->publishConfig('blog', 'config');
48 48
         $this->publishConfig('blog', 'permissions');
49 49
         $this->publishConfig('blog', 'settings');
50
-        $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
50
+        $this->loadMigrationsFrom(__DIR__.'/../Database/Migrations');
51 51
 
52 52
         $this->registerThumbnails();
53 53
     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
     private function registerBindings()
66 66
     {
67
-        $this->app->bind(PostRepository::class, function () {
67
+        $this->app->bind(PostRepository::class, function() {
68 68
             $repository = new EloquentPostRepository(new Post());
69 69
 
70 70
             if (config('app.cache') === false) {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             return new CachePostDecorator($repository);
75 75
         });
76 76
 
77
-        $this->app->bind(CategoryRepository::class, function () {
77
+        $this->app->bind(CategoryRepository::class, function() {
78 78
             $repository = new EloquentCategoryRepository(new Category());
79 79
 
80 80
             if (config('app.cache') === false) {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             return new CacheCategoryDecorator($repository);
85 85
         });
86 86
 
87
-        $this->app->bind(TagRepository::class, function () {
87
+        $this->app->bind(TagRepository::class, function() {
88 88
             $repository = new EloquentTagRepository(new Tag());
89 89
 
90 90
             if (config('app.cache') === false) {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             'fit' => [
102 102
                 'width' => '150',
103 103
                 'height' => '150',
104
-                'callback' => function ($constraint) {
104
+                'callback' => function($constraint) {
105 105
                     $constraint->upsize();
106 106
                 },
107 107
             ],
Please login to merge, or discard this patch.