Passed
Push — master ( 5607fc...09f1d1 )
by Innocent
03:37
created
database/factories/ContactFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Faithgen\Miscellaneous\Models\Contact;
6 6
 use Faker\Generator as Faker;
7 7
 
8
-$factory->define(Contact::class, function (Faker $faker) {
8
+$factory->define(Contact::class, function(Faker $faker) {
9 9
     return [
10 10
         'first_name'=>$faker->firstName,
11 11
         'last_name'=>$faker->lastName,
Please login to merge, or discard this patch.
database/migrations/2020_04_13_111855_create_f_a_q_s_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('fg_f_a_q_s', function (Blueprint $table) {
16
+        Schema::create('fg_f_a_q_s', function(Blueprint $table) {
17 17
             $table->string('id', 150)->primary();
18 18
             $table->enum('category', ['website', 'app', 'channel', 'general'])->default('general');
19 19
             $table->string('question');
Please login to merge, or discard this patch.
database/migrations/2020_04_13_114553_create_subscriptions_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('fg_subscriptions', function (Blueprint $table) {
16
+        Schema::create('fg_subscriptions', function(Blueprint $table) {
17 17
             $table->string('id', 150)->primary();
18 18
             $table->string('email')->unique();
19 19
             $table->boolean('confirmed')->default(false);
Please login to merge, or discard this patch.
database/migrations/2020_04_13_104251_create_contact.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('fg_contact', function (Blueprint $table) {
16
+        Schema::create('fg_contact', function(Blueprint $table) {
17 17
             $table->string('id', 150)->primary();
18 18
             $table->string('first_name');
19 19
             $table->string('last_name');
Please login to merge, or discard this patch.
src/MiscellaneousServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'miscellaneous');
45 45
 
46 46
         // Register the main class to use with the facade
47
-        $this->app->singleton('miscellaneous', function () {
47
+        $this->app->singleton('miscellaneous', function() {
48 48
             return new Miscellaneous;
49 49
         });
50 50
 
Please login to merge, or discard this patch.
routes/miscellaneous.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,17 +6,17 @@
 block discarded – undo
6 6
 use Illuminate\Support\Facades\Route;
7 7
 
8 8
 Route::prefix('contact-us')
9
-    ->group(function () {
9
+    ->group(function() {
10 10
         Route::post('', [ContactController::class, 'contact']);
11 11
     });
12 12
 
13 13
 Route::prefix('faqs')
14
-    ->group(function () {
14
+    ->group(function() {
15 15
         Route::get('', [FAQController::class, 'index']);
16 16
     });
17 17
 
18 18
 Route::prefix('subscriptions')
19
-    ->group(function () {
19
+    ->group(function() {
20 20
         Route::post('', [SubscriptionController::class, 'create']);
21 21
         Route::get('{subscription}/{email}', [SubscriptionController::class, 'approveSubscription']);
22 22
     });
Please login to merge, or discard this patch.