Skip to content

Conversation

1ed
Copy link
Contributor

@1ed 1ed commented Nov 14, 2021

Q A
Branch? 6.0
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

This fixes the following error (as validate can return null for empty files):

Uncaught TypeError: Symfony\Component\DependencyInjection\Loader\YamlFileLoader::loadFile(): Return value must be of type array, null returned in vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:760

@nicolas-grekas
Copy link
Member

Thank you @1ed.

@nicolas-grekas nicolas-grekas merged commit 89d6fcf into symfony:6.0 Nov 15, 2021
@1ed 1ed deleted the patch-16 branch November 15, 2021 09:22
@fabpot fabpot mentioned this pull request Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants