chore: code cleanup
This commit is contained in:
@@ -10,7 +10,7 @@ class DownloadNamer
|
||||
{
|
||||
public function nameForTeamer(Upload $upload, Teamer $teamer): string
|
||||
{
|
||||
$pattern = match($upload->getType()) {
|
||||
$pattern = match ($upload->getType()) {
|
||||
Upload::TYPE_INVOICE => 'hn-%d-%s-%s.pdf',
|
||||
Upload::TYPE_CONTRACT => 'hv-%d-%s-%s.pdf',
|
||||
default => null,
|
||||
|
||||
Reference in New Issue
Block a user