Skip to content

Commit 50505cb

Browse files
committed
format
1 parent a6349b8 commit 50505cb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Invoice.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public static function booted()
8888
static::creating(function (Invoice $invoice) {
8989
if (config('invoices.serial_number.auto_generate')) {
9090
$invoice->serial_number = $invoice->generateSerialNumber();
91-
9291
$invoice->serial_number_details = new ArrayObject(
9392
$invoice->parseSerialNumber()
9493
);
@@ -322,9 +321,7 @@ public function parseSerialNumber(): array
322321
{
323322
$generator = new SerialNumberGenerator($this->getSerialNumberFormatFromConfig());
324323

325-
return $generator->parse(
326-
$this->serial_number
327-
);
324+
return $generator->parse($this->serial_number);
328325
}
329326

330327
public function getTaxLabel(): ?string

0 commit comments

Comments
 (0)