Skip to content

Commit 1f422cf

Browse files
committed
Fix references to annotation loader tip
Tips were refactored to an include file in 0ddf3d2 but referenced the wrong filename. a0b19c3 removed the wrong tip from the serializer page. This fixes the tip references on routing/validator and restores the tip on the serializer, but with the right reference.
1 parent b749bf0 commit 1f422cf

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

components/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Last but not least there are
312312
route definitions from class annotations. The specific details are left
313313
out here.
314314

315-
.. include:: /_includes/_rewrite_rule_tip.rst.inc
315+
.. include:: /_includes/_annotation_loader_tip.rst.inc
316316

317317
The all-in-one Router
318318
~~~~~~~~~~~~~~~~~~~~~

components/serializer.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ You are now able to serialize only attributes in the groups you want::
310310
);
311311
// $obj2 = MyObj(foo: 'foo', bar: 'bar')
312312

313+
.. include:: /_includes/_annotation_loader_tip.rst.inc
314+
313315
.. _ignoring-attributes-when-serializing:
314316

315317
Ignoring Attributes

components/validator/resources.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ method. It takes an optional annotation reader instance, which defaults to
119119
To disable the annotation loader after it was enabled, call
120120
:method:`Symfony\\Component\\Validator\\ValidatorBuilder::disableAnnotationMapping`.
121121

122-
.. include:: /_includes/_rewrite_rule_tip.rst.inc
122+
.. include:: /_includes/_annotation_loader_tip.rst.inc
123123

124124
Using Multiple Loaders
125125
----------------------

0 commit comments

Comments
 (0)