Small fix, added possibility to use closure as dependency config.
Small fix, added possibility to use closure as dependency config.

Signed-off-by: SeynovAM <3a6963569462794205b03ebcdcd075af0aedd57d@gmail.com>

flexibuild/php-safe