Skip to content

Commit

Permalink
Fix #4359: Deprecated call to root node (#4363)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Mar 10, 2021
1 parent 1053440 commit 6a57068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Robo/Config/ProjectConfiguration.php
Expand Up @@ -14,8 +14,8 @@ class ProjectConfiguration implements ConfigurationInterface {
* Get config tree builder.
*/
public function getConfigTreeBuilder() {
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('recipe');
$treeBuilder = new TreeBuilder('recipe');
$rootNode = $treeBuilder->getRootNode();

// @codingStandardsIgnoreStart
$rootNode
Expand Down

0 comments on commit 6a57068

Please sign in to comment.