1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-29 10:12:41 +01:00

Minor, squelch a warning about reference variables.

Auditors: vrana
This commit is contained in:
epriestley 2012-03-26 10:03:59 -07:00
parent 9db7f294ef
commit 070e963d1c

View file

@ -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'.");