mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Minor, squelch a warning about reference variables.
Auditors: vrana
This commit is contained in:
parent
9db7f294ef
commit
070e963d1c
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ EOTEXT
|
|||
|
||||
$target = null;
|
||||
if ($this->getArgument('command')) {
|
||||
$target = reset($this->getArgument('command'));
|
||||
$target = head($this->getArgument('command'));
|
||||
if (empty($workflows[$target])) {
|
||||
throw new ArcanistUsageException(
|
||||
"Unrecognized command '{$target}'. Try 'arc help'.");
|
||||
|
|
Loading…
Reference in a new issue