original_string: public function getLast()
      {
          $this->internalDataListUpdate();
          $count = sizeof($this->internalDataListData);
          if (isset($this->internalDataListData[$count - 1])) {
              return $this->internalDataListUpdateValueIfNeeded($this->internalDataListData, $count - 1);
          }
          return null;
      }
code: public function getLast()
      {
          $this->internalDataListUpdate();
          $count = sizeof($this->internalDataListData);
          if (isset($this->internalDataListData[$count - 1])) {
              return $this->internalDataListUpdateValueIfNeeded($this->internalDataListData, $count - 1);
          }
          return null;
      }
code_tokens: public function getLast ( ) { $ this -> internalDataListUpdate ( ) ; $ count = sizeof ( $ this -> internalDataListData ) ; if ( isset ( $ this -> internalDataListData [ $ count - 1 ] ) ) { return $ this -> internalDataListUpdateValueIfNeeded ( $ this -> internalDataListData , $ count - 1 ) ; } return null ; }
docstring: Returns the last object or null if not found.
  
  @return object|null The last object or null if not found.
  @throws \InvalidArgumentException
docstring_tokens: Returns the last object or null if not found .