chore: code cleanup
This commit is contained in:
1 parent
c4e28818e0
commit
e36009008c
273 files changed
+547
-531
No files matched your search
@@ -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