Skip to content

Commit 2ea40a0

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Missed cleanup in fluent migration
2 parents 52bf1af + f8fb792 commit 2ea40a0

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

cache.rst

-3
Original file line numberDiff line numberDiff line change
@@ -559,9 +559,6 @@ to enable this feature. This could be added by using the following configuration
559559
.. code-block:: php
560560
561561
// config/packages/cache.php
562-
use Symfony\Component\Cache\Adapter\ChainAdapter;
563-
use Symfony\Component\DependencyInjection\Reference;
564-
565562
$container->loadFromExtension('framework', [
566563
'cache' => [
567564
'pools' => [

reference/configuration/swiftmailer.rst

-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ alternatives based on the :ref:`service binding <services-binding>` feature:
381381
// config/services.php
382382
use App\Some\Service;
383383
use Psr\Log\LoggerInterface;
384-
use Symfony\Component\DependencyInjection\Reference;
385384
386385
387386
$container->register(Service::class)

service_container.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ all their types (string, boolean, array, binary and PHP constant parameters).
483483
However, there is another type of parameter related to services. In YAML config,
484484
any string which starts with ``@`` is considered as the ID of a service, instead
485485
of a regular string. In XML config, use the ``type="service"`` type for the
486-
parameter and in PHP config use the ``Reference`` class:
486+
parameter and in PHP config use the ``ref`` function:
487487

488488
.. configuration-block::
489489

0 commit comments

Comments
 (0)