Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13f9b08

Browse files
committed
Fix quotes in exception messages
1 parent1791cbf commit13f9b08

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎HeaderBag.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public function getDate($key, \DateTime $default = null)
225225
}
226226

227227
if (false ===$date = \DateTime::createFromFormat(DATE_RFC2822,$value)) {
228-
thrownew \RuntimeException(sprintf('The%s HTTP header is not parseable (%s).',$key,$value));
228+
thrownew \RuntimeException(sprintf('The"%s" HTTP header is not parseable (%s).',$key,$value));
229229
}
230230

231231
return$date;

‎Session/Storage/MockArraySessionStorage.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function registerBag(SessionBagInterface $bag)
190190
publicfunctiongetBag($name)
191191
{
192192
if (!isset($this->bags[$name])) {
193-
thrownew \InvalidArgumentException(sprintf('The SessionBagInterface%s is not registered.',$name));
193+
thrownew \InvalidArgumentException(sprintf('The SessionBagInterface"%s" is not registered.',$name));
194194
}
195195

196196
if (!$this->started) {

‎Session/Storage/NativeSessionStorage.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function registerBag(SessionBagInterface $bag)
314314
publicfunctiongetBag($name)
315315
{
316316
if (!isset($this->bags[$name])) {
317-
thrownew \InvalidArgumentException(sprintf('The SessionBagInterface%s is not registered.',$name));
317+
thrownew \InvalidArgumentException(sprintf('The SessionBagInterface"%s" is not registered.',$name));
318318
}
319319

320320
if (!$this->started &&$this->saveHandler->isActive()) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp