This commit is contained in:
the-djmaze 2022-10-23 20:49:33 +02:00 committed by GitHub
parent 50ddca2e42
commit dc5ac7025d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1398,7 +1398,7 @@ class GPG
private static function findBinary($name) : ?string
{
$binary = \trim(`which $name`);
$binary = \trim((string) `which $name`);
if ($binary && \is_executable($binary)) {
return $binary;
}