diff --git a/src/Reflection/PhpDefect/PhpDefectClassReflectionExtension.php b/src/Reflection/PhpDefect/PhpDefectClassReflectionExtension.php index bbbb0c060f..e9dd4e81ad 100644 --- a/src/Reflection/PhpDefect/PhpDefectClassReflectionExtension.php +++ b/src/Reflection/PhpDefect/PhpDefectClassReflectionExtension.php @@ -21,7 +21,7 @@ class PhpDefectClassReflectionExtension implements PropertiesClassReflectionExte 'i' => 'int', 's' => 'int', 'invert' => 'int', - 'days' => 'mixed', + 'days' => 'int|false', 'f' => 'float', ], \DatePeriod::class => [