Skip to content

Commit 65a3322

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Form] Fix comments [docs] typofixes
2 parents db34324 + 0c5c684 commit 65a3322

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

components/cache/adapters/couchbasebucket_adapter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. index::
22
single: Cache Pool
3-
single: Couchabase Cache
3+
single: Couchbase Cache
44

55
.. _couchbase-adapter:
66

@@ -56,7 +56,7 @@ helper method allows creating and configuring a `Couchbase Bucket`_ class instan
5656
'couchbase://localhost'
5757
// the DSN can include config options (pass them as a query string):
5858
// 'couchbase://localhost:11210?operationTimeout=10'
59-
// 'couchbase://localhost:11210?operationTimeout=10&configTimout=20'
59+
// 'couchbase://localhost:11210?operationTimeout=10&configTimeout=20'
6060
);
6161

6262
// pass an array of DSN strings to register multiple servers with the client

components/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ Option Description D
988988
and ``$options = ['csv_headers' => ['a', 'b', 'c']]``
989989
then ``serialize($data, 'csv', $options)`` returns
990990
``a,b,c\n1,2,3`` ``[]``, inferred from input data's keys
991-
``csv_escape_formulas`` Escapes fields containg formulas by prepending them ``false``
991+
``csv_escape_formulas`` Escapes fields containing formulas by prepending them ``false``
992992
with a ``\t`` character
993993
``as_collection`` Always returns results as a collection, even if only ``true``
994994
one line is decoded.

form/create_form_type_extension.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ First, create the form type extension class extending from
3535
class ImageTypeExtension extends AbstractTypeExtension
3636
{
3737
/**
38-
* Return the class of the type being extended.
38+
* Returns an array of extended types.
3939
*/
4040
public static function getExtendedTypes(): iterable
4141
{
42-
// return FormType::class to modify (nearly) every field in the system
42+
// return [FormType::class] to modify (nearly) every field in the system
4343
return [FileType::class];
4444
}
4545
}
@@ -145,7 +145,7 @@ For example::
145145
{
146146
public static function getExtendedTypes(): iterable
147147
{
148-
// return FormType::class to modify (nearly) every field in the system
148+
// return [FormType::class] to modify (nearly) every field in the system
149149
return [FileType::class];
150150
}
151151

session.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Check out the Symfony config reference to learn more about the other available
131131
Basic Usage
132132
-----------
133133

134-
The sessions is available througth the Request and the RequestStack.
134+
The sessions is available through the Request and the RequestStack.
135135
Symfony provides a request_stack service that is injected in your services and
136136
controllers if you type-hint an argument with
137137
:class:`Symfony\\Component\\HttpFoundation\\RequestStack`::

0 commit comments

Comments
 (0)