@@ -30,7 +30,7 @@ |
||
30 | 30 | 'first_name' => $faker->firstName(), |
31 | 31 | 'last_name' => $faker->lastName(), |
32 | 32 | 'email' => $faker->unique()->safeEmail(), |
33 | - 'password' => $password ? : $password = Hash::make('password'), |
|
33 | + 'password' => $password ?: $password = Hash::make('password'), |
|
34 | 34 | 'is_confirmed' => 1, |
35 | 35 | 'user_role_id' => UserRole::where('name', 'basic')->first()->id, // Users should default to basic user role. |
36 | 36 | 'remember_token' => str_random(10), |
@@ -494,7 +494,7 @@ discard block |
||
494 | 494 | ->name('api.jobs.submit'); |
495 | 495 | Route::resource('jobs', 'Api\JobApiController')->only([ |
496 | 496 | 'show', 'store', 'update' |
497 | - ])->names([ // Specify custom names because default names collied with existing routes. |
|
497 | + ])->names([// Specify custom names because default names collied with existing routes. |
|
498 | 498 | 'show' => 'api.jobs.show', |
499 | 499 | 'store' => 'api.jobs.store', |
500 | 500 | 'update' => 'api.jobs.update' |
@@ -502,7 +502,7 @@ discard block |
||
502 | 502 | |
503 | 503 | Route::resource('managers', 'Api\ManagerApiController')->only([ |
504 | 504 | 'show', 'update' |
505 | - ])->names([ // Specify custom names because default names collied with existing routes |
|
505 | + ])->names([// Specify custom names because default names collied with existing routes |
|
506 | 506 | 'show' => 'api.managers.show', |
507 | 507 | 'update' => 'api.managers.update' |
508 | 508 | ]); |