@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('settings', function (Blueprint $table) { |
|
| 15 | + Schema::create('settings', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('company')->default('Ladybird web solution'); |
| 18 | 18 | $table->string('website')->default('http://www.ladybirdweb.com/'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('bussinesses', function (Blueprint $table) { |
|
| 15 | + Schema::create('bussinesses', function(Blueprint $table) { |
|
| 16 | 16 | $table->integer('id', true); |
| 17 | 17 | $table->string('name', 225)->nullable(); |
| 18 | 18 | $table->string('short', 225)->nullable(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('social_media', function (Blueprint $table) { |
|
| 15 | + Schema::create('social_media', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('class'); |
| 18 | 18 | $table->string('fa_class', 225); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('promo_product_relations', function (Blueprint $table) { |
|
| 15 | + Schema::create('promo_product_relations', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('promotion_id')->unsigned()->index('promo_product_relations_promotion_id_foreign'); |
| 18 | 18 | $table->integer('product_id')->unsigned()->index('promo_product_relations_product_id_foreign'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('product_bundle_relations', function (Blueprint $table) { |
|
| 15 | + Schema::create('product_bundle_relations', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('product_id')->unsigned()->index('product_bundle_relations_product_id_foreign'); |
| 18 | 18 | $table->integer('bundle_id')->unsigned()->index('product_bundle_relations_bundle_id_foreign'); |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::table('templates', function (Blueprint $table) { |
|
| 15 | + Schema::table('templates', function(Blueprint $table) { |
|
| 16 | 16 | $table->foreign('type')->references('id')->on('template_types')->onUpdate('RESTRICT')->onDelete('RESTRICT'); |
| 17 | 17 | }); |
| 18 | 18 | } |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | */ |
| 25 | 25 | public function down() |
| 26 | 26 | { |
| 27 | - Schema::table('templates', function (Blueprint $table) { |
|
| 27 | + Schema::table('templates', function(Blueprint $table) { |
|
| 28 | 28 | $table->dropForeign('templates_type_foreign'); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -358,7 +358,7 @@ discard block |
||
| 358 | 358 | /* |
| 359 | 359 | * Api |
| 360 | 360 | */ |
| 361 | -Route::group(['prefix' => 'api'], function () { |
|
| 361 | +Route::group(['prefix' => 'api'], function() { |
|
| 362 | 362 | /* |
| 363 | 363 | * Unautherised requests |
| 364 | 364 | */ |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | Route::get('otp/send', 'Auth\AuthController@requestOtp'); |
| 369 | 369 | Route::get('otp/verify', 'Auth\AuthController@postOtp'); |
| 370 | 370 | Route::get('email/verify', 'Auth\AuthController@verifyEmail'); |
| 371 | -Route::get('verify', function () { |
|
| 371 | +Route::get('verify', function() { |
|
| 372 | 372 | $user = \Session::get('user'); |
| 373 | 373 | if ($user) { |
| 374 | 374 | return view('themes.default1.user.verify', compact('user')); |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | ], |
| 66 | 66 | |
| 67 | 67 | 'subscription_over_mail'=> [ |
| 68 | - 'name' => '{{name}}', |
|
| 68 | + 'name' => '{{name}}', |
|
| 69 | 69 | 'number' => '{{number}}', |
| 70 | 70 | 'product'=> '{{product}}', |
| 71 | 71 | 'expiry' => '{{expiry}}', |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - 'providers' => [ |
|
| 4 | + 'providers' => [ |
|
| 5 | 5 | 0 => 'App\\Plugins\\Paypal\\ServiceProvider', |
| 6 | 6 | 1 => 'App\\Plugins\\Ccavanue\\ServiceProvider', |
| 7 | 7 | 2 => 'Illuminate\\Auth\\AuthServiceProvider', |
@@ -36,8 +36,8 @@ discard block |
||
| 36 | 36 | 31 => 'Illuminate\\Broadcasting\\BroadcastServiceProvider', |
| 37 | 37 | 32 => 'Mailchimp\\MailchimpServiceProvider', |
| 38 | 38 | 33 => 'Torann\\GeoIP\\GeoIPServiceProvider', |
| 39 | - ], |
|
| 40 | - 'eager' => [ |
|
| 39 | + ], |
|
| 40 | + 'eager' => [ |
|
| 41 | 41 | 0 => 'App\\Plugins\\Paypal\\ServiceProvider', |
| 42 | 42 | 1 => 'App\\Plugins\\Ccavanue\\ServiceProvider', |
| 43 | 43 | 2 => 'Illuminate\\Auth\\AuthServiceProvider', |
@@ -58,8 +58,8 @@ discard block |
||
| 58 | 58 | 17 => 'App\\Providers\\RouteServiceProvider', |
| 59 | 59 | 18 => 'Mailchimp\\MailchimpServiceProvider', |
| 60 | 60 | 19 => 'Torann\\GeoIP\\GeoIPServiceProvider', |
| 61 | - ], |
|
| 62 | - 'deferred' => [ |
|
| 61 | + ], |
|
| 62 | + 'deferred' => [ |
|
| 63 | 63 | 'Illuminate\\Bus\\Dispatcher' => 'Illuminate\\Bus\\BusServiceProvider', |
| 64 | 64 | 'Illuminate\\Contracts\\Bus\\Dispatcher' => 'Illuminate\\Bus\\BusServiceProvider', |
| 65 | 65 | 'Illuminate\\Contracts\\Bus\\QueueingDispatcher' => 'Illuminate\\Bus\\BusServiceProvider', |
@@ -126,8 +126,8 @@ discard block |
||
| 126 | 126 | 'Illuminate\\Broadcasting\\BroadcastManager' => 'Illuminate\\Broadcasting\\BroadcastServiceProvider', |
| 127 | 127 | 'Illuminate\\Contracts\\Broadcasting\\Factory' => 'Illuminate\\Broadcasting\\BroadcastServiceProvider', |
| 128 | 128 | 'Illuminate\\Contracts\\Broadcasting\\Broadcaster' => 'Illuminate\\Broadcasting\\BroadcastServiceProvider', |
| 129 | - ], |
|
| 130 | - 'when' => [ |
|
| 129 | + ], |
|
| 130 | + 'when' => [ |
|
| 131 | 131 | 'Illuminate\\Bus\\BusServiceProvider' => [ |
| 132 | 132 | ], |
| 133 | 133 | 'Illuminate\\Cache\\CacheServiceProvider' => [ |
@@ -156,5 +156,5 @@ discard block |
||
| 156 | 156 | ], |
| 157 | 157 | 'Illuminate\\Broadcasting\\BroadcastServiceProvider' => [ |
| 158 | 158 | ], |
| 159 | - ], |
|
| 159 | + ], |
|
| 160 | 160 | ]; |