Completed
Push — 2.0 ( aafd4d...5ec512 )
by Nicolas
03:32
created
Database/Migrations/2014_09_27_180507_create_tags_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('blog__tags', function (Blueprint $table) {
15
+        Schema::create('blog__tags', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDB';
17 17
             $table->increments('id');
18 18
             $table->timestamps();
Please login to merge, or discard this patch.
Database/Migrations/2014_09_27_175736_create_categories_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('blog__categories', function (Blueprint $table) {
15
+        Schema::create('blog__categories', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDB';
17 17
             $table->increments('id');
18 18
             $table->timestamps();
Please login to merge, or discard this patch.
Database/Migrations/2014_09_27_181907_create_post_tag_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('blog__post_tag', function (Blueprint $table) {
15
+        Schema::create('blog__post_tag', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDB';
17 17
             $table->integer('tag_id');
18 18
             $table->integer('post_id');
Please login to merge, or discard this patch.
Database/Migrations/2014_09_27_175411_create_post_translations_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('blog__post_translations', function (Blueprint $table) {
15
+        Schema::create('blog__post_translations', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDB';
17 17
             $table->increments('id');
18 18
             $table->integer('post_id')->unsigned();
Please login to merge, or discard this patch.
Migrations/2014_09_27_175804_create_category_translations_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('blog__category_translations', function (Blueprint $table) {
15
+        Schema::create('blog__category_translations', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDB';
17 17
             $table->increments('id');
18 18
             $table->string('name');
Please login to merge, or discard this patch.
Database/Migrations/2015_05_29_180714_add_status_column_to_post_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::table('blog__posts', function (Blueprint $table) {
14
+        Schema::table('blog__posts', function(Blueprint $table) {
15 15
             $table->engine = 'InnoDB';
16 16
             $table->integer('status')->after('category_id')->default(1);
17 17
         });
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function down()
25 25
     {
26
-        Schema::table('blog__posts', function (Blueprint $table) {
26
+        Schema::table('blog__posts', function(Blueprint $table) {
27 27
             $table->dropColumn('status');
28 28
         });
29 29
     }
Please login to merge, or discard this patch.
Database/Migrations/2014_09_27_170107_create_posts_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('blog__posts', function (Blueprint $table) {
15
+        Schema::create('blog__posts', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDB';
17 17
             $table->increments('id');
18 18
             $table->integer('category_id')->index();
Please login to merge, or discard this patch.
Database/Migrations/2014_09_27_180538_create_tag_translations_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('blog__tag_translations', function (Blueprint $table) {
15
+        Schema::create('blog__tag_translations', function(Blueprint $table) {
16 16
             $table->engine = 'InnoDB';
17 17
             $table->increments('id');
18 18
             $table->string('name');
Please login to merge, or discard this patch.
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.