original_string: public function getFirst()
      {
          $varReturn = null;
          if (count($this->collection) > 0) {
              $varReturn = $this->collection[0];
          }
  
          return $varReturn;
      }
code: public function getFirst()
      {
          $varReturn = null;
          if (count($this->collection) > 0) {
              $varReturn = $this->collection[0];
          }
  
          return $varReturn;
      }
code_tokens: public function getFirst ( ) { $ varReturn = null ; if ( count ( $ this -> collection ) > 0 ) { $ varReturn = $ this -> collection [ 0 ] ; } return $ varReturn ; }
docstring: Get first element in collection
  @return mixed Returns first element in collection, null if collection is empty
docstring_tokens: Get first element in collection