diff --git a/src/Exception/Binary/Loader/ChainNotLoadableException.php b/src/Exception/Binary/Loader/ChainNotLoadableException.php index 4f26a5589..1fb6bef93 100644 --- a/src/Exception/Binary/Loader/ChainNotLoadableException.php +++ b/src/Exception/Binary/Loader/ChainNotLoadableException.php @@ -21,7 +21,7 @@ public function __construct(string $path, ChainAttemptNotLoadableException ...$e private static function compileExceptionMessage(string $path, ChainAttemptNotLoadableException ...$exceptions): string { return vsprintf('Source image not resolvable "%s" using "%s" %d loaders (internal exceptions: %s).', [ - $path, self::compileLoaderConfigMaps(...$exceptions), \count($exceptions), self::compileLoaderErrorsList(...$exceptions) + $path, self::compileLoaderConfigMaps(...$exceptions), \count($exceptions), self::compileLoaderErrorsList(...$exceptions), ]); } @@ -39,7 +39,8 @@ private static function compileLoaderErrorsList(ChainAttemptNotLoadableException }, ...$exceptions); } - private static function implodeArrayMappedExceptions(\Closure $listMapper, ChainAttemptNotLoadableException ...$exceptions): string { + private static function implodeArrayMappedExceptions(\Closure $listMapper, ChainAttemptNotLoadableException ...$exceptions): string + { return implode(', ', array_map($listMapper, $exceptions)); } }