diff --git a/examples/benchmark-throughput.php b/examples/benchmark-throughput.php index 640c58f..5461d19 100644 --- a/examples/benchmark-throughput.php +++ b/examples/benchmark-throughput.php @@ -17,6 +17,8 @@ $args = getopt('i:o:t:'); $if = $args['i'] ?? '/dev/zero'; $of = $args['o'] ?? '/dev/null'; + +/** @psalm-suppress RiskyCast */ $duration = (int) ($args['t'] ?? 30); assert(is_string($if) && is_string($of));