diff --git a/app/Services/Bank/BankMatchingService.php b/app/Services/Bank/BankMatchingService.php index 336c29ce9112..8afb84ff6737 100644 --- a/app/Services/Bank/BankMatchingService.php +++ b/app/Services/Bank/BankMatchingService.php @@ -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}";