original_string: public function getCurrentId()
      {
          $sql   = 'SELECT value FROM ' . $this->table . ' WHERE name = ?';
  
          $id = $this->db->fetchOne($sql, array($this->name));
  
          if (!empty($id) || '0' === $id || 0 === $id) {
              return (int) $id;
          }
      }
code: public function getCurrentId()
      {
          $sql   = 'SELECT value FROM ' . $this->table . ' WHERE name = ?';
  
          $id = $this->db->fetchOne($sql, array($this->name));
  
          if (!empty($id) || '0' === $id || 0 === $id) {
              return (int) $id;
          }
      }
code_tokens: public function getCurrentId ( ) { $ sql = 'SELECT value FROM ' . $ this -> table . ' WHERE name = ?' ; $ id = $ this -> db -> fetchOne ( $ sql , array ( $ this -> name ) ) ; if ( ! empty ( $ id ) || '0' === $ id || 0 === $ id ) { return ( int ) $ id ; } }
docstring: Returns the current max id.
  @return int
  @internal
docstring_tokens: Returns the current max id .