The expression return $nodeBuilder->sca...tFileLinkFormat)->end() returns the type null which is incompatible with the type-hinted return Symfony\Component\Config...ion\Builder\NodeBuilder.
Loading history...
25
18
->scalarNode('file_link_format')
26
18
->defaultValue($defaultFileLinkFormat)
27
18
->end();
28
}
29
30
18
private static function addFileLinkFormatConfigurationNodeFromDefaultsConfiguration(NodeBuilder $nodeBuilder, DefaultsConfigurationModel $defaultsConfiguration): NodeBuilder