diff --git a/cookbook/doctrine/dbal.rst b/cookbook/doctrine/dbal.rst index 71349c6bc75..048b18f9edc 100644 --- a/cookbook/doctrine/dbal.rst +++ b/cookbook/doctrine/dbal.rst @@ -141,11 +141,8 @@ mapping type: # app/config/config.yml doctrine: dbal: - connections: - default: - # other connections parameters - mapping_types: - enum: string + mapping_types: + enum: string .. code-block:: xml @@ -158,11 +155,7 @@ mapping type: - - - - string - + string @@ -172,14 +165,9 @@ mapping type: // app/config/config.php $container->loadFromExtension('doctrine', array( 'dbal' => array( - 'connections' => array( - 'default' => array( - // other connection parameers - 'mapping_types' => array( - 'enum' => 'string', - ), - ), - ), + mapping_types' => array( + 'enum' => 'string', + ), ), ));