Skip to content

Commit

Permalink
ran php-cs-fixer on prior ChainLoader related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robfrawley committed Nov 23, 2021
1 parent 11aa6c6 commit 58902a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Exception/Binary/Loader/ChainNotLoadableException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]);
}

Expand All @@ -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));
}
}

0 comments on commit 58902a8

Please sign in to comment.