Skip to content
This repository was archived by the owner on Jul 22, 2022. It is now read-only.

Commit 5c54ac3

Browse files
kunicmarko20OskarStark
authored andcommitted
pass second argument to addChild (#116)
to avoid throwing a deprecation after merging sonata-project/SonataAdminBundle#5058
1 parent faa95cf commit 5c54ac3

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"sonata-project/block-bundle": "<3.11"
3939
},
4040
"require-dev": {
41-
"sonata-project/admin-bundle": "^3.31",
41+
"sonata-project/admin-bundle": "^3.35",
4242
"sonata-project/block-bundle": "^3.11",
4343
"sonata-project/classification-bundle": "^3.6",
4444
"symfony/phpunit-bridge": "^4.0"

src/Resources/config/admin_mongodb.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</call>
2424
<call method="addChild">
2525
<argument type="service" id="sonata.comment.admin.comment"/>
26+
<argument>thread</argument>
2627
</call>
2728
</service>
2829
</services>

src/Resources/config/admin_orm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</call>
2424
<call method="addChild">
2525
<argument type="service" id="sonata.comment.admin.comment"/>
26+
<argument>thread</argument>
2627
</call>
2728
</service>
2829
</services>

0 commit comments

Comments
 (0)