10000 minor #5897 Fixed some wrong line number references in doctrine.rst (… · symfony/symfony-docs@e9c267e · GitHub
[go: up one dir, main page]

Skip to content

Commit e9c267e

Browse files
committed
minor #5897 Fixed some wrong line number references in doctrine.rst (DigNative)
This PR was merged into the 2.3 branch. Discussion ---------- Fixed some wrong line number references in doctrine.rst | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | none Some line numbers for the code example in section "Persisting Objects to the Database" were wrong. Commits ------- 50274c4 Fixed some wrong line numbers in doctrine.rst
2 parents e6d4c93 + 50274c4 commit e9c267e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/doctrine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,10 +534,10 @@ Take a look at the previous example in more detail:
534534
responsible for handling the process of persisting and fetching objects
535535
to and from the database.
536536

537-
* **line 16** The ``persist()`` method tells Doctrine to "manage" the ``$product``
537+
* **line 17** The ``persist()`` method tells Doctrine to "manage" the ``$product``
538538
object. This does not actually cause a query to be made to the database (yet).
539539

540-
* **line 17** When the ``flush()`` method is called, Doctrine looks through
540+
* **line 18** When the ``flush()`` method is called, Doctrine looks through
541541
all of the objects that it's managing to see if they need to be persisted
542542
to the database. In this example, the ``$product`` object has not been
543543
persisted yet, so the entity manager executes an ``INSERT`` query and a

0 commit comments

Comments
 (0)
0