Passed
Branch master (4abb21)
by Gianluca
15:48 queued 12:02
created
Category
src/MongicommerceServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'mongicommerce');
55 55
 
56 56
         // Register the main class to use with the facade
57
-        $this->app->singleton('mongicommerce', function () {
57
+        $this->app->singleton('mongicommerce', function() {
58 58
             return new Mongicommerce;
59 59
         });
60 60
     }
Please login to merge, or discard this patch.
src/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,4 +4,4 @@
 block discarded – undo
4 4
 use Mongi\Mongicommerce\Http\Controllers\admin\DashboardController;
5 5
 
6 6
 //BackEnd Pages
7
-Route::get('/admin/dashboard',[DashboardController::class,'page'])->name('admin.dashboard');
7
+Route::get('/admin/dashboard', [DashboardController::class, 'page'])->name('admin.dashboard');
Please login to merge, or discard this patch.
src/Http/Controllers/admin/DashboardController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class DashboardController
8 8
 {
9
-    public function page(){
9
+    public function page() {
10 10
         return view('mongicommerce::admin.pages.dashboard');
11 11
     }
12 12
 }
Please login to merge, or discard this patch.
database/migrations/2020_12_07_082410_create_orders_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('orders', function (Blueprint $table) {
16
+        Schema::create('orders', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->unsignedBigInteger('user_id');
19 19
             $table->date('shipped_date')->nullable();
Please login to merge, or discard this patch.
database/migrations/2020_12_02_091332_create_status_order.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('statuses_order', function (Blueprint $table) {
16
+        Schema::create('statuses_order', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->string('color');
Please login to merge, or discard this patch.
database/migrations/2020_12_02_085260_create_sub_category.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('sub_categories', function (Blueprint $table) {
16
+        Schema::create('sub_categories', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->unsignedBigInteger('category_id');
Please login to merge, or discard this patch.
database/migrations/2020_12_02_085259_create_categories_tabe.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('categories', function (Blueprint $table) {
16
+        Schema::create('categories', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->timestamps();
Please login to merge, or discard this patch.
database/migrations/2020_12_07_082433_create_order_products.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('order_products', function (Blueprint $table) {
16
+        Schema::create('order_products', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->unsignedBigInteger('order_id');
19 19
             $table->unsignedBigInteger('product_id');
Please login to merge, or discard this patch.
database/migrations/2020_12_02_091246_create_cart_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('cart', function (Blueprint $table) {
16
+        Schema::create('cart', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->unsignedBigInteger('user_id');
19 19
             $table->unsignedBigInteger('product_id');
Please login to merge, or discard this patch.