From bc626bbcfc2e1ae750c7be93f93bf3138f10b732 Mon Sep 17 00:00:00 2001 From: Pete Date: Mon, 20 Apr 2026 10:48:50 +0100 Subject: [PATCH] FieldTypesCommand.php fix --- src/Commands/Field/FieldTypesCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Field/FieldTypesCommand.php b/src/Commands/Field/FieldTypesCommand.php index 964d590..565519f 100644 --- a/src/Commands/Field/FieldTypesCommand.php +++ b/src/Commands/Field/FieldTypesCommand.php @@ -38,7 +38,7 @@ protected function execute(InputInterface $input, OutputInterface $output) { // get available fieldtypes foreach (\ProcessWire\wire('modules') as $module) { - if (preg_match('/^Fieldtype/', $module->name)) { + if (preg_match('/^Fieldtype/', (string)$module->name)) { $tools->writeDfList($module->name, substr($module->name, 9)); } }