Skip to content

Commit

Permalink
Adjust comments (#10160)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Oct 22, 2022
1 parent 9f926f0 commit 3ee7d96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/en/tutorials/getting-started.rst
Expand Up @@ -141,7 +141,7 @@ step:
require_once "vendor/autoload.php";
// Create a simple "default" Doctrine ORM configuration for Annotations
// Create a simple "default" Doctrine ORM configuration for Attributes
$config = ORMSetup::createAttributeMetadataConfiguration(
paths: array(__DIR__."/src"),
isDevMode: true,
Expand Down
8 changes: 4 additions & 4 deletions lib/Doctrine/ORM/EntityManager.php
Expand Up @@ -54,13 +54,13 @@
* the static create() method. The quickest way to obtain a fully
* configured EntityManager is:
*
* use Doctrine\ORM\Tools\Setup;
* use Doctrine\ORM\Tools\ORMSetup;
* use Doctrine\ORM\EntityManager;
*
* $paths = array('/path/to/entity/mapping/files');
* $paths = ['/path/to/entity/mapping/files'];
*
* $config = Setup::createAnnotationMetadataConfiguration($paths);
* $dbParams = array('driver' => 'pdo_sqlite', 'memory' => true);
* $config = ORMSetup::createAttributeMetadataConfiguration($paths);
* $dbParams = ['driver' => 'pdo_sqlite', 'memory' => true];
* $entityManager = EntityManager::create($dbParams, $config);
*
* For more information see
Expand Down

0 comments on commit 3ee7d96

Please sign in to comment.