@@ -11,6 +11,6 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Broadcast::channel('App.User.{id}', function ($user, $id) { |
|
14 | +Broadcast::channel('App.User.{id}', function($user, $id) { |
|
15 | 15 | return (int) $user->id === (int) $id; |
16 | 16 | }); |
@@ -141,6 +141,6 @@ |
||
141 | 141 | | |
142 | 142 | */ |
143 | 143 | |
144 | - 'attributes' => [], |
|
144 | + 'attributes' => [ ], |
|
145 | 145 | |
146 | 146 | ]; |
@@ -6,19 +6,19 @@ |
||
6 | 6 | use Faker\Provider\pt_BR\PhoneNumber; |
7 | 7 | use Faker\Provider\pt_BR\Person; |
8 | 8 | |
9 | -$factory->define(Employee::class, function (Faker $faker) { |
|
9 | +$factory->define(Employee::class, function(Faker $faker) { |
|
10 | 10 | static $password; |
11 | 11 | |
12 | 12 | $faker->addProvider(new BrazilianAddress($faker)); |
13 | 13 | $faker->addProvider(new PhoneNumber($faker)); |
14 | 14 | $faker->addProvider(new Person($faker)); |
15 | - $phone = '(' . $faker->areaCode . ')'. $faker->phone; |
|
15 | + $phone = '('.$faker->areaCode.')'.$faker->phone; |
|
16 | 16 | |
17 | 17 | return [ |
18 | 18 | 'full_name' => $faker->name, |
19 | 19 | 'br_cpf' => $faker->cpf, |
20 | 20 | 'email' => $faker->unique()->safeEmail, |
21 | - 'telephone_type' => $faker->randomElement(['COMERCIAL', 'RESIDENTIAL', 'CELLPHONE']), |
|
21 | + 'telephone_type' => $faker->randomElement([ 'COMERCIAL', 'RESIDENTIAL', 'CELLPHONE' ]), |
|
22 | 22 | 'telephone' => $phone, |
23 | 23 | 'zip_code' => $faker->postcode, |
24 | 24 | 'city' => $faker->city, |
@@ -17,7 +17,7 @@ |
||
17 | 17 | return; |
18 | 18 | } |
19 | 19 | |
20 | - Schema::create('employees', function (Blueprint $table) { |
|
20 | + Schema::create('employees', function(Blueprint $table) { |
|
21 | 21 | $table->increments('id'); |
22 | 22 | $table->string('full_name'); |
23 | 23 | $table->string('br_cpf'); |
@@ -17,7 +17,7 @@ |
||
17 | 17 | return; |
18 | 18 | } |
19 | 19 | |
20 | - Schema::create('password_resets', function (Blueprint $table) { |
|
20 | + Schema::create('password_resets', function(Blueprint $table) { |
|
21 | 21 | $table->string('email')->index(); |
22 | 22 | $table->string('token'); |
23 | 23 | $table->timestamp('created_at')->nullable(); |