Skip to content

Commit 54b65be

Browse files
committed
Amended Coding Style
1 parent cb92dbc commit 54b65be

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
@@ -44,7 +44,7 @@ public function __construct(
4444
string $on = 'update',
4545
$field = null,
4646
$value = null,
47-
string $setterMethod = null
47+
?string $setterMethod = null
4848
) {
4949
if ([] !== $data) {
5050
@trigger_error(sprintf(

src/Mapping/Annotation/IpTraceable.php

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

src/Mapping/Annotation/SoftDeleteable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct(
4343
string $fieldName = 'deletedAt',
4444
bool $timeAware = false,
4545
bool $hardDelete = true,
46-
string $setterMethod = null
46+
?string $setterMethod = null
4747
) {
4848
if ([] !== $data) {
4949
@trigger_error(sprintf(

src/Mapping/Annotation/Timestampable.php

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

0 commit comments

Comments
 (0)