Skip to content

Commit 4a24e87

Browse files
committed
Amended Coding Style
1 parent fb54ab8 commit 4a24e87

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Mapping/Annotation/Blameable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(
4646
string $on = 'update',
4747
$field = null,
4848
$value = null,
49-
string $setterMethod = null
49+
?string $setterMethod = null
5050
) {
5151
if ([] !== $data) {
5252
@trigger_error(sprintf(

src/Mapping/Annotation/IpTraceable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(
4747
string $on = 'update',
4848
$field = null,
4949
$value = null,
50-
string $setterMethod = null
50+
?string $setterMethod = null
5151
) {
5252
if ([] !== $data) {
5353
@trigger_error(sprintf(

src/Mapping/Annotation/SoftDeleteable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ final class SoftDeleteable implements GedmoAnnotation
4040
/**
4141
* @param array<string, mixed> $data
4242
*/
43-
public function __construct(array $data = [], string $fieldName = 'deletedAt', bool $timeAware = false, bool $hardDelete = true, string $setterMethod = null)
43+
public function __construct(array $data = [], string $fieldName = 'deletedAt', bool $timeAware = false, bool $hardDelete = true, ?string $setterMethod = null)
4444
{
4545
if ([] !== $data) {
4646
@trigger_error(sprintf(

src/Mapping/Annotation/Timestampable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(
4646
string $on = 'update',
4747
$field = null,
4848
$value = null,
49-
string $setterMethod = null
49+
?string $setterMethod = null
5050
) {
5151
if ([] !== $data) {
5252
@trigger_error(sprintf(

0 commit comments

Comments
 (0)