Completed
Push — 2.0 ( f37c7a...55b6b9 )
by Nicolas
25:54 queued 22:23
created
Providers/BlogServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $this->publishConfig('blog', 'config');
44 44
         $this->publishConfig('blog', 'permissions');
45 45
         $this->publishConfig('blog', 'settings');
46
-        $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
46
+        $this->loadMigrationsFrom(__DIR__.'/../Database/Migrations');
47 47
 
48 48
         $this->registerThumbnails();
49 49
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     private function registerBindings()
62 62
     {
63
-        $this->app->bind(PostRepository::class, function () {
63
+        $this->app->bind(PostRepository::class, function() {
64 64
             $repository = new EloquentPostRepository(new Post());
65 65
 
66 66
             if (config('app.cache') === false) {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             return new CachePostDecorator($repository);
71 71
         });
72 72
 
73
-        $this->app->bind(CategoryRepository::class, function () {
73
+        $this->app->bind(CategoryRepository::class, function() {
74 74
             $repository = new EloquentCategoryRepository(new Category());
75 75
 
76 76
             if (config('app.cache') === false) {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             return new CacheCategoryDecorator($repository);
81 81
         });
82 82
 
83
-        $this->app->bind(TagRepository::class, function () {
83
+        $this->app->bind(TagRepository::class, function() {
84 84
             $repository = new EloquentTagRepository(new Tag());
85 85
 
86 86
             if (config('app.cache') === false) {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             'fit' => [
98 98
                 'width' => '150',
99 99
                 'height' => '150',
100
-                'callback' => function ($constraint) {
100
+                'callback' => function($constraint) {
101 101
                     $constraint->upsize();
102 102
                 },
103 103
             ],
Please login to merge, or discard this patch.
Http/frontendRoutes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,15 +3,15 @@
 block discarded – undo
3 3
 use Illuminate\Routing\Router;
4 4
 
5 5
 /** @var Router $router */
6
-$router->group(['prefix' => 'blog'], function (Router $router) {
6
+$router->group(['prefix' => 'blog'], function(Router $router) {
7 7
     $locale = LaravelLocalization::setLocale() ?: App::getLocale();
8 8
     $router->get('posts', [
9
-        'as' => $locale . '.blog',
9
+        'as' => $locale.'.blog',
10 10
         'uses' => 'PublicController@index',
11 11
         'middleware' => config('asgard.blog.config.middleware'),
12 12
     ]);
13 13
     $router->get('posts/{slug}', [
14
-        'as' => $locale . '.blog.slug',
14
+        'as' => $locale.'.blog.slug',
15 15
         'uses' => 'PublicController@show',
16 16
         'middleware' => config('asgard.blog.config.middleware'),
17 17
     ]);
Please login to merge, or discard this patch.