From 64f500a74b9c8f0b59a6a88f97682bee39e76615 Mon Sep 17 00:00:00 2001 From: Quentin Gabriele Date: Mon, 5 Feb 2024 16:09:06 +0100 Subject: [PATCH] fix stan --- src/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Invoice.php b/src/Invoice.php index 9364528..cfed2e3 100644 --- a/src/Invoice.php +++ b/src/Invoice.php @@ -244,7 +244,7 @@ public function getSerialNumberPrefixFromConfig(string $default = ''): string return $prefixes; } - return data_get($prefixes, $this->type?->value, $default); + return data_get($prefixes, $this->type->value, $default); } public function getSerialNumberPrefix(): ?string