Skip to content

Commit 1605c35

Browse files
Adding the trailing commas
1 parent 997a796 commit 1605c35

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

src/File/Path/Basepath/DefaultTrait.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,17 @@ public function basepath(): string
5353
if ($value === null) {
5454
throw new LogicException(sprintf(
5555
'Field value for substitution is missing: %s',
56-
$field
56+
$field,
5757
));
5858
} elseif (!is_scalar($value)) {
5959
throw new LogicException(sprintf(
6060
'Field value for substitution must be a integer, float, string or boolean: %s',
61-
$field
61+
$field,
6262
));
6363
} elseif (strlen((string)$value) < 1) {
6464
throw new LogicException(sprintf(
6565
'Field value for substitution must be non-zero in length: %s',
66-
$field
66+
$field,
6767
));
6868
}
6969

@@ -74,7 +74,7 @@ public function basepath(): string
7474
return str_replace(
7575
array_keys($replacements),
7676
array_values($replacements),
77-
$path
77+
$path,
7878
);
7979
}
8080
}

src/File/Path/DefaultProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function __construct(
6363
EntityInterface $entity,
6464
UploadedFileInterface|string $data,
6565
string $field,
66-
array $settings
66+
array $settings,
6767
) {
6868
$this->table = $table;
6969
$this->entity = $entity;

src/File/Path/Filename/DefaultTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function filename(): string
2323
$this->entity,
2424
$this->data,
2525
$this->field,
26-
$this->settings
26+
$this->settings,
2727
);
2828
}
2929

src/File/Path/ProcessorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(
2323
EntityInterface $entity,
2424
string|UploadedFileInterface $data,
2525
string $field,
26-
array $settings
26+
array $settings,
2727
);
2828

2929
/**

src/File/Transformer/DefaultTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(
2323
protected EntityInterface $entity,
2424
protected UploadedFileInterface $data,
2525
protected string $field,
26-
protected array $settings
26+
protected array $settings,
2727
) {
2828
}
2929

src/File/Writer/DefaultWriter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct(
3131
protected EntityInterface $entity,
3232
protected ?UploadedFileInterface $data,
3333
protected string $field,
34-
protected array $settings
34+
protected array $settings,
3535
) {
3636
}
3737

src/File/Writer/WriterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(
2323
EntityInterface $entity,
2424
?UploadedFileInterface $data,
2525
string $field,
26-
array $settings
26+
array $settings,
2727
);
2828

2929
/**

0 commit comments

Comments
 (0)