Various code cleanup and phpstan suggestions

This commit is contained in:
James Cole
2022-11-02 06:25:37 +01:00
parent 74610a5d55
commit 8d8f81c27d
45 changed files with 147 additions and 27 deletions

View File

@@ -43,7 +43,7 @@ class TriggeredAuditLog extends Event
/**
* Create a new event instance.
*/
public function __construct(Model $changer, Model $auditable, string $field, mixed $before = null, mixed $after = null)
public function __construct(Model $changer, Model $auditable, string $field, mixed $before, mixed $after)
{
$this->changer = $changer;
$this->auditable = $auditable;