original_string: public function cleanup()
      {
          try {
              foreach ($this->locks as $lock) {
                  $lock->release();
              }
          } catch (LockReleasingException $e) {
              // noop
          } finally {
              $this->locks = [];
          }
      }
code: public function cleanup()
      {
          try {
              foreach ($this->locks as $lock) {
                  $lock->release();
              }
          } catch (LockReleasingException $e) {
              // noop
          } finally {
              $this->locks = [];
          }
      }
code_tokens: public function cleanup ( ) { try { foreach ( $ this -> locks as $ lock ) { $ lock -> release ( ) ; } } catch ( LockReleasingException $ e ) { // noop } finally { $ this -> locks = [ ] ; } }
docstring: Release all locks.
  
  {@inheritdoc}
docstring_tokens: Release all locks .