diff --git a/src/Propel/Runtime/Util/Profiler.php b/src/Propel/Runtime/Util/Profiler.php index 4df17fb72..ad8db6fe8 100644 --- a/src/Propel/Runtime/Util/Profiler.php +++ b/src/Propel/Runtime/Util/Profiler.php @@ -76,13 +76,13 @@ public function __construct(float $slowThreshold = 0.1, string $innerGlue = ': ' } /** - * Set the duration which triggers the 'slow' label on details. + * Set the duration which triggers the 'slow' label on details, such as 0.1 (100ms) or 0.001 (1ms). * - * @param int $slowThreshold duration in seconds + * @param float $slowThreshold duration in seconds * * @return void */ - public function setSlowThreshold(int $slowThreshold): void + public function setSlowThreshold(float $slowThreshold): void { $this->slowThreshold = $slowThreshold; }