Skip to content

Commit 3faa6e8

Browse files
authored
Fixed typo (#41)
* Fixed typo * Applied changes from StyleCI
1 parent 16e98c9 commit 3faa6e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DependencyInjection/Neo4jExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private function handleConnections(array &$config, ContainerBuilder $container):
149149
$serviceIds = [];
150150
$firstName = null;
151151
foreach ($config['connections'] as $name => $data) {
152-
if ($firstName === null || $name === 'default') {
152+
if (null === $firstName || 'default' === $name) {
153153
$firstName = $name;
154154
}
155155
$def = new Definition(Connection::class);
@@ -160,7 +160,7 @@ private function handleConnections(array &$config, ContainerBuilder $container):
160160
}
161161

162162
// Make sure we got a 'default'
163-
if ($firstName !== 'default') {
163+
if ('default' !== $firstName) {
164164
$config['connections']['default'] = $config['connections'][$firstName];
165165
}
166166

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The bundle is a convenient way of registering services. We register `Connections
4343

4444
* neo4j.connection
4545
* neo4j.client
46-
* neo4j.entity_manager*
46+
* neo4j.entity_manager.*
4747

4848

4949
### Minimal configuration

0 commit comments

Comments
 (0)