mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
change private to protected property for middleware key
This commit is contained in:
parent
788055dad8
commit
aff4e197c0
@ -33,7 +33,7 @@ class BankMatchingService implements ShouldQueue
|
|||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
public function __construct(private int $company_id, private string $db){}
|
public function __construct(protected int $company_id, private string $db){}
|
||||||
|
|
||||||
public function handle() :void
|
public function handle() :void
|
||||||
{
|
{
|
||||||
@ -51,8 +51,8 @@ class BankMatchingService implements ShouldQueue
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// public function middleware()
|
public function middleware()
|
||||||
// {
|
{
|
||||||
// return [new WithoutOverlapping($this->company_id)];
|
return [new WithoutOverlapping($this->company_id)];
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user