We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 001b38c commit 659468aCopy full SHA for 659468a
Tests/Functional/DependencyInjection/FOSElasticaExtensionTest.php
@@ -30,7 +30,8 @@ public function shouldAddParentParamToObjectPersisterCall()
30
31
$persisterCallDefinition = $containerBuilder->getDefinition('fos_elastica.object_persister.test_index.child_field');
32
33
- $arguments = $persisterCallDefinition->getArguments()['index_3'];
+ $arguments = $persisterCallDefinition->getArguments();
34
+ $arguments = $arguments['index_3'];
35
36
$this->assertArrayHasKey('_parent', $arguments);
37
$this->assertEquals('parent_field', $arguments['_parent']['type']);
0 commit comments