@@ -50,13 +50,13 @@ discard block |
||
50 | 50 | public function boot() |
51 | 51 | { |
52 | 52 | $this->publishes([ |
53 | - __DIR__ . '/../Resources/views' => base_path('resources/views/asgard/blog'), |
|
53 | + __DIR__.'/../Resources/views' => base_path('resources/views/asgard/blog'), |
|
54 | 54 | ]); |
55 | 55 | |
56 | 56 | $this->publishConfig('blog', 'config'); |
57 | 57 | $this->publishConfig('blog', 'permissions'); |
58 | 58 | $this->publishConfig('blog', 'settings'); |
59 | - $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations'); |
|
59 | + $this->loadMigrationsFrom(__DIR__.'/../Database/Migrations'); |
|
60 | 60 | |
61 | 61 | $this->registerThumbnails(); |
62 | 62 | $this->app[TagManager::class]->registerNamespace(new Post()); |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | |
75 | 75 | private function registerBindings() |
76 | 76 | { |
77 | - $this->app->bind(PostRepository::class, function () { |
|
77 | + $this->app->bind(PostRepository::class, function() { |
|
78 | 78 | $repository = new EloquentPostRepository(new Post()); |
79 | 79 | |
80 | 80 | if (config('app.cache') === false) { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | return new CachePostDecorator($repository); |
85 | 85 | }); |
86 | 86 | |
87 | - $this->app->bind(CategoryRepository::class, function () { |
|
87 | + $this->app->bind(CategoryRepository::class, function() { |
|
88 | 88 | $repository = new EloquentCategoryRepository(new Category()); |
89 | 89 | |
90 | 90 | if (config('app.cache') === false) { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | return new CacheCategoryDecorator($repository); |
95 | 95 | }); |
96 | 96 | |
97 | - $this->app->bind(TagRepository::class, function () { |
|
97 | + $this->app->bind(TagRepository::class, function() { |
|
98 | 98 | $repository = new EloquentTagRepository(new Tag()); |
99 | 99 | |
100 | 100 | if (config('app.cache') === false) { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | 'fit' => [ |
112 | 112 | 'width' => '150', |
113 | 113 | 'height' => '150', |
114 | - 'callback' => function ($constraint) { |
|
114 | + 'callback' => function($constraint) { |
|
115 | 115 | $constraint->upsize(); |
116 | 116 | }, |
117 | 117 | ], |