Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1820 from symplify/mb-fix-json
Browse files Browse the repository at this point in the history
[MB] Allow inline sections to be empty for 3rd party use
  • Loading branch information
TomasVotruba committed Mar 23, 2020
2 parents 41c1217 + f72c900 commit da6849e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class JsonFileManager
/**
* @param string[] $inlineSections
*/
public function __construct(SymfonyFilesystem $symfonyFilesystem, array $inlineSections)
public function __construct(SymfonyFilesystem $symfonyFilesystem, array $inlineSections = [])
{
$this->symfonyFilesystem = $symfonyFilesystem;
$this->inlineSections = $inlineSections;
Expand Down

0 comments on commit da6849e

Please sign in to comment.