original_string: protected function selectionHandler()
      {
          $userCount = count($this->choices);
          if ($userCount > static::MAX_USER_CHOICES) {
              $this->autocomplete();
          } elseif ($userCount > 1) {
              $this->selector();
          } elseif (1 === $userCount) {
              $this->editor($this->choices[0]);
          }
      }
code: protected function selectionHandler()
      {
          $userCount = count($this->choices);
          if ($userCount > static::MAX_USER_CHOICES) {
              $this->autocomplete();
          } elseif ($userCount > 1) {
              $this->selector();
          } elseif (1 === $userCount) {
              $this->editor($this->choices[0]);
          }
      }
code_tokens: protected function selectionHandler ( ) { $ userCount = count ( $ this -> choices ) ; if ( $ userCount > static :: MAX_USER_CHOICES ) { $ this -> autocomplete ( ) ; } elseif ( $ userCount > 1 ) { $ this -> selector ( ) ; } elseif ( 1 === $ userCount ) { $ this -> editor ( $ this -> choices [ 0 ] ) ; } }
docstring: Handle user selection depending on options and user count in db
docstring_tokens: Handle user selection depending on options and user count in db