Skip to content

Commit c1bb2cc

Browse files
authored
Merge pull request #11526 from GromNaN/patch-1
doc: Use modern array syntax in getting started
2 parents 40f299f + e3d7c60 commit c1bb2cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/en/tutorials/getting-started.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ step:
144144
145145
// Create a simple "default" Doctrine ORM configuration for Attributes
146146
$config = ORMSetup::createAttributeMetadataConfiguration(
147-
paths: array(__DIR__."/src"),
147+
paths: [__DIR__ . '/src'],
148148
isDevMode: true,
149149
);
150150
// or if you prefer annotation, YAML or XML
@@ -153,7 +153,7 @@ step:
153153
// isDevMode: true,
154154
// );
155155
// $config = ORMSetup::createXMLMetadataConfiguration(
156-
// paths: array(__DIR__."/config/xml"),
156+
// paths: [__DIR__ . '/config/xml'],
157157
// isDevMode: true,
158158
//);
159159
// $config = ORMSetup::createYAMLMetadataConfiguration(

0 commit comments

Comments
 (0)