Skip to content

Commit

Permalink
Merge pull request #11526 from GromNaN/patch-1
Browse files Browse the repository at this point in the history
doc: Use modern array syntax in getting started
  • Loading branch information
greg0ire authored Jun 26, 2024
2 parents 40f299f + e3d7c60 commit c1bb2cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/tutorials/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ step:
// Create a simple "default" Doctrine ORM configuration for Attributes
$config = ORMSetup::createAttributeMetadataConfiguration(
paths: array(__DIR__."/src"),
paths: [__DIR__ . '/src'],
isDevMode: true,
);
// or if you prefer annotation, YAML or XML
Expand All @@ -153,7 +153,7 @@ step:
// isDevMode: true,
// );
// $config = ORMSetup::createXMLMetadataConfiguration(
// paths: array(__DIR__."/config/xml"),
// paths: [__DIR__ . '/config/xml'],
// isDevMode: true,
//);
// $config = ORMSetup::createYAMLMetadataConfiguration(
Expand Down

0 comments on commit c1bb2cc

Please sign in to comment.