Skip to content

Commit

Permalink
Remove default null
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Feb 9, 2024
1 parent 1d87597 commit 2a2ddf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function addParams(array $params): void
$params = array_filter($params, fn($v) => !is_null($v));
$params = array_merge($params, $this->params ?? []);

$this->params = $params ?: null;
$this->params = $params;
}


Expand Down

0 comments on commit 2a2ddf4

Please sign in to comment.