update to php 8

implode now only accepts separator as first argument
This commit is contained in:
n3w 2021-01-19 17:32:35 +01:00 committed by GitHub
commit 2a37d4e373
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ if (!function_exists(__NAMESPACE__.'usage')) {
: $a->name()
);
}
$arguments = trim(implode($arguments, ' '));
$arguments = trim(implode(' ', $arguments));
return sprintf(
'Usage: %s [OPTIONS]... %s%s',