Skip to content

Commit 1500c40

Browse files
authored
Merge pull request #2095 from szepeviktor/typos-2026
Fix two typos
2 parents 6dbd560 + 1646f29 commit 1500c40

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/symfony/messenger.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ services:
311311
arguments:
312312
# Pass the transport name used in config/packages/messenger.yaml
313313
$transportName: 'async'
314-
# Optionnally, if you have different buses in config/packages/messenger.yaml, set $bus like below:
314+
# Optionally, if you have different buses in config/packages/messenger.yaml, set $bus like below:
315315
# $bus: '@event.bus'
316316
```
317317

tests/FpmRuntime/FpmHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ public function test response with cookies()
11731173
{
11741174
$cookieHeader = $this->get('cookies.php')['headers']['Set-Cookie'];
11751175

1176-
// Dependending on the PHP version the date formatting is slightly different
1176+
// Depending on the PHP version the date formatting is slightly different
11771177
$cookieHeader = str_replace('12 Jan 2018', '12-Jan-2018', $cookieHeader);
11781178

11791179
self::assertEquals('MyCookie=MyValue; expires=Fri, 12-Jan-2018 08:32:03 GMT; Max-Age=0; path=/hello/; domain=example.com; secure; HttpOnly', $cookieHeader);
@@ -1187,7 +1187,7 @@ public function test response with multiple cookies with multiheader()
11871187
'multiValueHeaders' => [],
11881188
])['multiValueHeaders']['Set-Cookie'];
11891189

1190-
// Dependending on the PHP version the date formatting is slightly different
1190+
// Depending on the PHP version the date formatting is slightly different
11911191
$cookieHeader[0] = str_replace('12 Jan 2018', '12-Jan-2018', $cookieHeader[0]);
11921192
$cookieHeader[1] = str_replace('12 Jan 2018', '12-Jan-2018', $cookieHeader[1]);
11931193

0 commit comments

Comments
 (0)