mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-28 08:20:56 +01:00
Fix tab complete in php 8
Summary: Ref T15064 Test Plan: run `arc shell-complete`; `arc shell-complete arc shell`; Should suggest completions, not crash. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: mainframe98, speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T15064 Differential Revision: https://we.phorge.it/D25350
This commit is contained in:
parent
b996b4799b
commit
8a2cb75d63
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ EOTEXT
|
|||
$argv = $this->getArgument('argv');
|
||||
|
||||
$is_generate = $this->getArgument('generate');
|
||||
$is_shell = (bool)strlen($this->getArgument('shell'));
|
||||
$is_shell = phutil_nonempty_string($this->getArgument('shell'));
|
||||
$is_current = $this->getArgument('current');
|
||||
|
||||
if ($argv) {
|
||||
|
|
Loading…
Reference in a new issue