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