From 71d80f11a91fcbe446f87351b67a9f42103d2dd6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Mar 2021 08:28:45 +0100 Subject: [PATCH] Fix sprintf format --- src/LimitStream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LimitStream.php b/src/LimitStream.php index 57eeca9..9df22b3 100644 --- a/src/LimitStream.php +++ b/src/LimitStream.php @@ -71,7 +71,7 @@ public function seek($offset, $whence = SEEK_SET) { if ($whence !== SEEK_SET || $offset < 0) { throw new \RuntimeException(sprintf( - 'Cannot seek to offset % with whence %s', + 'Cannot seek to offset %d with whence %s', $offset, $whence ));