original_string: public function current()
      {
          switch ($this->extractFlag) {
              case self::EXTR_DATA:
                  return current($this->values[$this->maxPriority]);
              case self::EXTR_PRIORITY:
                  return $this->maxPriority;
              case self::EXTR_BOTH:
                  return [
                      'data'     => current($this->values[$this->maxPriority]),
                      'priority' => $this->maxPriority
                  ];
          }
      }
code: public function current()
      {
          switch ($this->extractFlag) {
              case self::EXTR_DATA:
                  return current($this->values[$this->maxPriority]);
              case self::EXTR_PRIORITY:
                  return $this->maxPriority;
              case self::EXTR_BOTH:
                  return [
                      'data'     => current($this->values[$this->maxPriority]),
                      'priority' => $this->maxPriority
                  ];
          }
      }
code_tokens: public function current ( ) { switch ( $ this -> extractFlag ) { case self :: EXTR_DATA : return current ( $ this -> values [ $ this -> maxPriority ] ) ; case self :: EXTR_PRIORITY : return $ this -> maxPriority ; case self :: EXTR_BOTH : return [ 'data' => current ( $ this -> values [ $ this -> maxPriority ] ) , 'priority' => $ this -> maxPriority ] ; } }
docstring: Get the current element in the queue
  
  @return mixed
docstring_tokens: Get the current element in the queue