Skip to content

Commit f86b03b

Browse files
committed
Amended Coding Style
1 parent deee452 commit f86b03b

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
@@ -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
@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)