Skip to content

Commit

Permalink
fix code sniffing
Browse files Browse the repository at this point in the history
  • Loading branch information
jturbide committed Aug 9, 2023
1 parent 85a9d85 commit eb9ade2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mvc/Model/Blameable/BlameAt.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@

trait BlameAt
{
public function getDateCallback(...$args): \Closure
public function getDateCallback(string $format, ...$args): \Closure
{
return function () use ($args) {
return date(...$args);
return function () use ($format, $args) {
return date($format, ...$args);
};
}
}
1 change: 1 addition & 0 deletions src/Mvc/Model/Blameable/Deleted.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ trait Deleted
use Identity;
use Snapshot;
use SoftDelete;
use BlameAt;

/**
* Initializing Deleted
Expand Down
1 change: 1 addition & 0 deletions src/Mvc/Model/Blameable/Restored.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ trait Restored
use Identity;
use Snapshot;
use SoftDelete;
use BlameAt;

/**
* Initializing Restored
Expand Down
1 change: 1 addition & 0 deletions src/Mvc/Model/Blameable/Updated.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ trait Updated
use Identity;
use Snapshot;
use SoftDelete;
use BlameAt;

/**
* Initializing Updated
Expand Down

0 comments on commit eb9ade2

Please sign in to comment.