Skip to content

Commit 24742a1

Browse files
committed
Merge branch '4.1' into 4.2
* 4.1: Fix minor upgrade procedure first command Update user_provider.rst Fix variable name in code snippet
2 parents 28a789c + 3ae4a3d commit 24742a1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/asset.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ that path over and over again::
215215
// result: /static/images/logo.png?v1
216216

217217
// Base path is ignored when using absolute paths
218-
echo $package->getUrl('/logo.png');
218+
echo $pathPackage->getUrl('/logo.png');
219219
// result: /logo.png?v1
220220

221221
Request Context Aware Assets
@@ -239,7 +239,7 @@ class can take into account the context of the current request::
239239
// result: /somewhere/static/images/logo.png?v1
240240

241241
// Both "base path" and "base url" are ignored when using absolute path for asset
242-
echo $package->getUrl('/logo.png');
242+
echo $pathPackage->getUrl('/logo.png');
243243
// result: /logo.png?v1
244244

245245
Now that the request context is set, the ``PathPackage`` will prepend the

security/user_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ that has two jobs:
1414
**Load the User for some Feature**
1515
Some features, like ``switch_user``, ``remember_me`` and many of the built-in
1616
:doc:`authentication providers </security/auth_providers>`, use the user provider
17-
to load a User object via is "username" (or email, or whatever field you want).
17+
to load a User object via its "username" (or email, or whatever field you want).
1818

1919
Symfony comes with several built-in user providers:
2020

setup/upgrade_minor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Next, use Composer to download new versions of the libraries:
4646

4747
.. code-block:: terminal
4848
49-
$ composer update "symfony/*" --with-all-dependencies
49+
$ composer update "symfony/*"
5050
5151
.. include:: /setup/_update_dep_errors.rst.inc
5252

0 commit comments

Comments
 (0)