Skip to content

Commit 1a9c48e

Browse files
greg0irejaviereguiluz
authored andcommitted
Missed cleanup in fluent migration
1 parent 42740dd commit 1a9c48e

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
@@ -567,9 +567,6 @@ to enable this feature. This could be added by using the following configuration
567567
.. code-block:: php
568568
569569
// config/packages/cache.php
570-
use Symfony\Component\Cache\Adapter\ChainAdapter;
571-
use Symfony\Component\DependencyInjection\Reference;
572-
573570
$container->loadFromExtension('framework', [
574571
'cache' => [
575572
'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)