original_string: public function tryDelete($id = null)
      {
          if (!is_null($id)) {
              $this->tryLoad($id);
          }
          if ($this->loaded()) {
              $this->delete();
          }
  
          return $this;
      }
code: public function tryDelete($id = null)
      {
          if (!is_null($id)) {
              $this->tryLoad($id);
          }
          if ($this->loaded()) {
              $this->delete();
          }
  
          return $this;
      }
code_tokens: public function tryDelete ( $ id = null ) { if ( ! is_null ( $ id ) ) { $ this -> tryLoad ( $ id ) ; } if ( $ this -> loaded ( ) ) { $ this -> delete ( ) ; } return $ this ; }
docstring: Tries to delete record, but does nothing if not found
docstring_tokens: Tries to delete record but does nothing if not found