From 1f62ea6ef9bf2b8cdcc9b825ac4217649618830e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kurucz=20Istv=C3=A1n?= Date: Tue, 28 May 2024 22:43:45 +0200 Subject: [PATCH] Issue #6012: drush migrate:fields-source vs. strict_types (#6015) --- src/Commands/core/MigrateRunnerCommands.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/core/MigrateRunnerCommands.php b/src/Commands/core/MigrateRunnerCommands.php index 798714c102..0592d740ef 100644 --- a/src/Commands/core/MigrateRunnerCommands.php +++ b/src/Commands/core/MigrateRunnerCommands.php @@ -651,7 +651,7 @@ public function fieldsSource(string $migrationId, $options = ['format' => 'table foreach ($source->fields() as $machineName => $description) { $table[] = [ 'machine_name' => $machineName, - 'description' => strip_tags($description), + 'description' => strip_tags((string) $description), ]; } return new RowsOfFields($table);