@@ -106,7 +106,7 @@ |
||
| 106 | 106 | // Toggle whether or not the customer is listed as a user favorite |
| 107 | 107 | public function toggleFav($action, $id) |
| 108 | 108 | { |
| 109 | - switch ($action) |
|
| 109 | + switch($action) |
|
| 110 | 110 | { |
| 111 | 111 | case 'add': |
| 112 | 112 | CustomerFavs::create([ |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | ]; |
| 20 | 20 | }); |
| 21 | 21 | |
| 22 | -$factory->define(App\CustomerContacts::class, function (Faker $faker) use ($factory) { |
|
| 22 | +$factory->define(App\CustomerContacts::class, function(Faker $faker) use ($factory) { |
|
| 23 | 23 | return [ |
| 24 | 24 | 'cust_id' => factory(App\Customers::class)->create()->cust_id, |
| 25 | 25 | 'name' => $faker->name, |