Skip to content

Commit aa7cd64

Browse files
committed
Amended Coding Style
1 parent 89df76d commit aa7cd64

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
@@ -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
Deprecation::trigger(

src/Mapping/Annotation/IpTraceable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(
4848
string $on = 'update',
4949
$field = null,
5050
$value = null,
51-
string $setterMethod = null
51+
?string $setterMethod = null
5252
) {
5353
if ([] !== $data) {
5454
Deprecation::trigger(

src/Mapping/Annotation/SoftDeleteable.php

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

src/Mapping/Annotation/Timestampable.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
Deprecation::trigger(

0 commit comments

Comments
 (0)