Skip to content

Commit f8fb792

Browse files
committed
minor symfony#14217 Missed cleanup in fluent migration (greg0ire)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Missed cleanup in fluent migration Commits ------- 1a9c48e Missed cleanup in fluent migration
2 parents 151b9c3 + 1a9c48e commit f8fb792

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

Diff for: 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' => [

Diff for: 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)

Diff for: 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)