8000 Merge branch '6.1' into 6.2 · symfony/symfony-docs@1cbe327 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cbe327

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: Method getCharset with proper returning type Fix: Linebreak Inappropriate usage of Parameter Conversion [Lock] Add classes's link
2 parents 6e6bef4 + 7ba7089 commit 1cbe327

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

components/lock.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ method can be safely called repeatedly, even if the lock is already acquired.
7272
Serializing Locks
7373
------------------
7474

75-
The ``Key`` contains the state of the ``Lock`` and can be serialized. This
75+
The :class:`Symfony\\Component\\Lock\\Key` contains the state of the
76+
:class:`Symfony\\Component\\Lock\\Lock` and can be serialized. This
7677
allows the user to begin a long job in a process by acquiring the lock, and
7778
continue the job in another process using the same lock::
7879

reference/configuration/kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ charset::
3939

4040
class Kernel extends BaseKernel
4141
{
42-
public function getCharset()
42+
public function getCharset(): string
4343
{
4444
return 'ISO-8859-1';
4545
}

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ when importing the routes.
13621362
}
13631363
13641364
#[Route('/{_locale}/posts/{slug}', name: 'show')]
1365-
public function show(Post $post): Response
1365+
public function show(string $slug): Response
13661366
{
13671367
// ...
13681368
}

0 commit comments

Comments
 (0)
0