Add User type to ImportData
This commit is contained in:
parent
d51d728412
commit
df3d2aeec3
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ use Illuminate\Queue\SerializesModels;
|
|||
use Monolog\Logger;
|
||||
use App\Services\ImportService;
|
||||
use App\Ninja\Mailers\UserMailer;
|
||||
use App\Models\User;
|
||||
use Auth;
|
||||
|
||||
/**
|
||||
|
|
@ -38,7 +39,7 @@ class ImportData extends Job implements ShouldQueue
|
|||
* @param mixed $files
|
||||
* @param mixed $settings
|
||||
*/
|
||||
public function __construct($user, $type, $settings)
|
||||
public function __construct(User $user, $type, $settings)
|
||||
{
|
||||
$this->user = $user;
|
||||
$this->type = $type;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue