Skip to content

Commit 719593c

Browse files
committed
StaticFactory :: lint
1 parent 54f8092 commit 719593c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Creational/StaticFactory/StaticFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ final class StaticFactory
1414
{
1515
public static function factory(string $type): Formatter
1616
{
17-
return match($type) {
17+
return match ($type) {
1818
'number' => new FormatNumber(),
1919
'string' => new FormatString(),
2020
default => throw new InvalidArgumentException('Unknown format given'),

0 commit comments

Comments
 (0)