refactor bank matching service
This commit is contained in:
parent
0c17e6014f
commit
7bde5690f4
1 changed files with 6 additions and 1 deletions
|
|
@ -33,7 +33,12 @@ class BankMatchingService implements ShouldQueue
|
|||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
public function __construct(protected int $company_id, protected string $db){
|
||||
protected $company_id;
|
||||
|
||||
protected $db;
|
||||
|
||||
public function __construct($company_id, $db)
|
||||
{
|
||||
$this->company_id = $company_id;
|
||||
$this->db = $db;
|
||||
$this->middleware_key = "bank_match_rate:{$this->company_id}";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue