core/Command/TwoFactorAuth/Base.php
/**
	 * Return possible values for the named argument
	 *
	 * @param string $argumentName
	 * @param CompletionContext $context
	 * @return string[]
	 */
Return possible values for the named argument
@param string $argumentName
@param CompletionContext $context
@return string[]
Return possible values for the named argument @param string $argumentName @param CompletionContext $context @return string []
public function completeArgumentValues($argumentName, CompletionContext $context) {
		if ($argumentName === 'uid') {
			return array_map(function(IUser $user) {
				return $user->getUID();
			}, $this->userManager->search($context->getCurrentWord(), 100));
		}
		return [];
	}
public function completeArgumentValues ( $ argumentName , CompletionContext $ context ) { if ( $ argumentName === 'uid' ) { return array_map ( function ( IUser $ user ) { return $ user -> getUID ( ) ; } , $ this -> userManager -> search ( $ context -> getCurrentWord ( ) , 100 ) ) ; } return [ ] ; }
Return possible values for the named argument
 @param string $argumentName
 @param CompletionContext $context
 @return string[]
Return possible values for the named argument @param string $argumentName @param CompletionContext $context @return string []