Skip to content

Commit

Permalink
Closes #2382 - Fix PHP 8 code deprecation in custom smart_date migrat…
Browse files Browse the repository at this point in the history
…e plugin. (#2444)

Co-authored-by: Ashley Slay <[email protected]>
  • Loading branch information
2 people authored and trackleft committed Jun 7, 2023
1 parent 78c7b0b commit 492fae4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable
$rrule = SmartDateRule::load($value);
if ($rrule) {
$values = [];
$first_instance = FALSE;
$first_instance = [];
$before = NULL;
// Retrieve all instances for this rule, with overrides applied.
if (empty($rrule->get('limit')->getString())) {
Expand Down

0 comments on commit 492fae4

Please sign in to comment.