diff --git a/docs/en/tutorials/getting-started.rst b/docs/en/tutorials/getting-started.rst index 688030cc149..1fa463dd797 100644 --- a/docs/en/tutorials/getting-started.rst +++ b/docs/en/tutorials/getting-started.rst @@ -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 @@ -153,7 +153,7 @@ step: // isDevMode: true, // ); // $config = ORMSetup::createXMLMetadataConfiguration( - // paths: array(__DIR__."/config/xml"), + // paths: [__DIR__ . '/config/xml'], // isDevMode: true, //); // $config = ORMSetup::createYAMLMetadataConfiguration(