mirror of
https://github.com/n3w/helpers-functions-cli.git
synced 2025-12-19 12:43:22 +00:00
update to php 8
implode now only accepts separator as first argument
This commit is contained in:
parent
630efc99d6
commit
2a37d4e373
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ if (!function_exists(__NAMESPACE__.'usage')) {
|
||||||
: $a->name()
|
: $a->name()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$arguments = trim(implode($arguments, ' '));
|
$arguments = trim(implode(' ', $arguments));
|
||||||
|
|
||||||
return sprintf(
|
return sprintf(
|
||||||
'Usage: %s [OPTIONS]... %s%s',
|
'Usage: %s [OPTIONS]... %s%s',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue