Completed
Push — 2.0 ( 95f77b...f37c7a )
by Nicolas
24:58 queued 15:12
created
Http/Requests/UpdateCategoryRequest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     public function rules()
10 10
     {
11 11
         return [
12
-           // 'slug[en]' => 'required'
12
+            // 'slug[en]' => 'required'
13 13
         ];
14 14
     }
15 15
 
Please login to merge, or discard this patch.
Http/backendRoutes.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,18 +3,18 @@
 block discarded – undo
3 3
 use Illuminate\Routing\Router;
4 4
 
5 5
 /** @var Router $router */
6
-$router->bind('category', function ($id) {
6
+$router->bind('category', function($id) {
7 7
     return app(\Modules\Blog\Repositories\CategoryRepository::class)->find($id);
8 8
 });
9
-$router->bind('post', function ($id) {
9
+$router->bind('post', function($id) {
10 10
     return app(\Modules\Blog\Repositories\PostRepository::class)->find($id);
11 11
 });
12 12
 
13
-$router->bind('tag', function ($id) {
13
+$router->bind('tag', function($id) {
14 14
     return app(Modules\Blog\Repositories\TagRepository::class)->find($id);
15 15
 });
16 16
 
17
-$router->group(['prefix' => '/blog'], function (Router $router) {
17
+$router->group(['prefix' => '/blog'], function(Router $router) {
18 18
     $router->get('posts', [
19 19
         'as' => 'admin.blog.post.index',
20 20
         'uses' => 'PostController@index',
Please login to merge, or discard this patch.
Widgets/PostsWidget.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@
 block discarded – undo
44 44
         return ['postCount' => $this->post->all()->count()];
45 45
     }
46 46
 
47
-     /**
48
-     * Get the widget type
49
-     * @return string
50
-     */
47
+        /**
48
+         * Get the widget type
49
+         * @return string
50
+         */
51 51
     protected function options()
52 52
     {
53 53
         return [
Please login to merge, or discard this patch.
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.