Skip to content

Commit 6bea098

Browse files
committed
minor symfony#9815 Adding quotes to a server_version on an example just after explanation why are necessary (sergiosusa)
This PR was submitted for the 4.0 branch but it was merged into the 2.7 branch instead (closes symfony#9815). Discussion ---------- Adding quotes to a server_version on an example just after explanation why are necessary just adding some quotes to server_version, couple of lines before is explained this: "Always wrap the server version number with quotes to parse it as a string instead of a float number" Commits ------- 3db34d4 Update doctrine.rst
2 parents 534bdc5 + 3db34d4 commit 6bea098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/configuration/doctrine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,13 @@ If you want to configure multiple connections in YAML, put them under the
389389
user: root
390390
password: null
391391
host: localhost
392-
server_version: 5.6
392+
server_version: '5.6'
393393
customer:
394394
dbname: customer
395395
user: root
396396
password: null
397397
host: localhost
398-
server_version: 5.7
398+
server_version: '5.7'
399399
400400
The ``database_connection`` service always refers to the *default* connection,
401401
which is the first one defined or the one configured via the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy