Skip to content

Commit e3d7c60

Browse files
GromNaNgreg0ire
authored andcommitted
Use modern array syntax in the doc
1 parent 40f299f commit e3d7c60

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)