mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-18 18:54:07 +00:00
Replace magic property access with proper get() call
This commit is contained in:
@@ -90,7 +90,7 @@ class SerialNumberFormatter
|
||||
$companyId = $this->company;
|
||||
|
||||
if (request()->has('format')) {
|
||||
$format = request()->format;
|
||||
$format = request()->get('format');
|
||||
} else {
|
||||
$format = CompanySetting::getSetting(
|
||||
$settingKey,
|
||||
|
||||
Reference in New Issue
Block a user