Skip to content

Commit d5ba3a4

Browse files
committed
Amended Coding Style
1 parent 5676e53 commit d5ba3a4

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

src/Mapping/Annotation/IpTraceable.php

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

src/Mapping/Annotation/SoftDeleteable.php

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

src/Mapping/Annotation/Timestampable.php

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

0 commit comments

Comments
 (0)