diff --git a/src/Param/ParamValueConverterRegistry.php b/src/Param/ParamValueConverterRegistry.php index 5524279..f5124fe 100644 --- a/src/Param/ParamValueConverterRegistry.php +++ b/src/Param/ParamValueConverterRegistry.php @@ -93,6 +93,7 @@ public function __construct() ? $value->format('Y-m-d H:i:s.u') : $value, + 'Dynamic' => self::noopConverter(), 'Variant' => self::noopConverter(), 'IPv4' => self::noopConverter(), diff --git a/tests/Param/ParamValueConverterRegistryTest.php b/tests/Param/ParamValueConverterRegistryTest.php index 129664f..a5814c4 100644 --- a/tests/Param/ParamValueConverterRegistryTest.php +++ b/tests/Param/ParamValueConverterRegistryTest.php @@ -180,6 +180,7 @@ public static function providerConvert(): Generator yield 'Bool' => ['Bool', true, 'true']; + yield 'Dynamic' => ['Bool', true, 'true']; yield 'Variant' => ['Variant(String, Int8)', 'test', 'test']; yield 'Nullable' => ['Nullable(String)', 'foo', 'foo'];