Skip to content

Commit

Permalink
Amended Coding Style
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfsjaeger committed Sep 19, 2023
1 parent deee452 commit f86b03b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Mapping/Annotation/Blameable.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(
string $on = 'update',
$field = null,
$value = null,
string $setterMethod = null
?string $setterMethod = null
) {
if ([] !== $data) {
@trigger_error(sprintf(
Expand Down
2 changes: 1 addition & 1 deletion src/Mapping/Annotation/IpTraceable.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(
string $on = 'update',
$field = null,
$value = null,
string $setterMethod = null
?string $setterMethod = null
) {
if ([] !== $data) {
@trigger_error(sprintf(
Expand Down
2 changes: 1 addition & 1 deletion src/Mapping/Annotation/SoftDeleteable.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ final class SoftDeleteable implements GedmoAnnotation
/**
* @param array<string, mixed> $data
*/
public function __construct(array $data = [], string $fieldName = 'deletedAt', bool $timeAware = false, bool $hardDelete = true, string $setterMethod = null)
public function __construct(array $data = [], string $fieldName = 'deletedAt', bool $timeAware = false, bool $hardDelete = true, ?string $setterMethod = null)
{
if ([] !== $data) {
@trigger_error(sprintf(
Expand Down
2 changes: 1 addition & 1 deletion src/Mapping/Annotation/Timestampable.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(
string $on = 'update',
$field = null,
$value = null,
string $setterMethod = null
?string $setterMethod = null
) {
if ([] !== $data) {
@trigger_error(sprintf(
Expand Down

0 comments on commit f86b03b

Please sign in to comment.