mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02:00
refactor bank matching service
This commit is contained in:
parent
0c17e6014f
commit
7bde5690f4
@ -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…
Reference in New Issue
Block a user