Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
@@ -16,16 +16,10 @@ class IncrementingNumberGenerator implements NumberGeneratorInterface
|
||||
{
|
||||
private $counter = 0;
|
||||
|
||||
/**
|
||||
* @param InvoiceModel $model
|
||||
*/
|
||||
public function setModel(InvoiceModel $model)
|
||||
public function setModel(InvoiceModel $model): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInvoiceNumber(): string
|
||||
{
|
||||
return $this->counter++;
|
||||
|
||||
Reference in New Issue
Block a user