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

Commit2d4d118

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Fix quotes in exception messages
2 parents01887e8 +13f9b08 commit2d4d118

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
@@ -219,7 +219,7 @@ public function getDate($key, \DateTime $default = null)
219219
}
220220

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

225225
return$date;

‎Session/Storage/MockArraySessionStorage.php‎

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

192192
if (!$this->started) {

‎Session/Storage/NativeSessionStorage.php‎

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp