original_string: public function release($key)
      {
          if ($this->cache->remove($key)) {
              if (($index = array_search($key, $this->keys)) !== false) {
                  unset($this->keys[$index]);
              }
              return true;
          } else {
              return false;
          }
      }
code: public function release($key)
      {
          if ($this->cache->remove($key)) {
              if (($index = array_search($key, $this->keys)) !== false) {
                  unset($this->keys[$index]);
              }
              return true;
          } else {
              return false;
          }
      }
code_tokens: public function release ( $ key ) { if ( $ this -> cache -> remove ( $ key ) ) { if ( ( $ index = array_search ( $ key , $ this -> keys ) ) !== false ) { unset ( $ this -> keys [ $ index ] ) ; } return true ; } else { return false ; } }
docstring: Release a lock key
  
  @param string $key
  @return bool
docstring_tokens: Release a lock key