From 1b5980c2ae260e2bd4aaf41db67f854bb5707313 Mon Sep 17 00:00:00 2001 From: Josantonius Date: Mon, 8 Aug 2022 00:09:59 +0200 Subject: [PATCH] feat: add new exceptions --- src/Exceptions/HeadersSentException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exceptions/HeadersSentException.php b/src/Exceptions/HeadersSentException.php index 5446708..553d6b2 100644 --- a/src/Exceptions/HeadersSentException.php +++ b/src/Exceptions/HeadersSentException.php @@ -16,7 +16,7 @@ class HeadersSentException extends SessionException public function __construct(string $file, int $line) { parent::__construct(sprintf( - 'Session->start(): The session was already started in "%s" at line %d', + 'Session->start(): The headers have already been sent in "%s" at line %d.', $file, $line ));