original_string: public function removeHook($command, $callable)
      {
          if (isset($this->hooks[$command]) &&
              array_search($callable, $this->hooks[$command]) !== false
          ) {
              $hook = array_search($callable, $this->hooks[$command]);
              unset($this->hooks[$command][$hook]);
              unset($hook);
          }
      }
code: public function removeHook($command, $callable)
      {
          if (isset($this->hooks[$command]) &&
              array_search($callable, $this->hooks[$command]) !== false
          ) {
              $hook = array_search($callable, $this->hooks[$command]);
              unset($this->hooks[$command][$hook]);
              unset($hook);
          }
      }
code_tokens: public function removeHook ( $ command , $ callable ) { if ( isset ( $ this -> hooks [ $ command ] ) && array_search ( $ callable , $ this -> hooks [ $ command ] ) !== false ) { $ hook = array_search ( $ callable , $ this -> hooks [ $ command ] ) ; unset ( $ this -> hooks [ $ command ] [ $ hook ] ) ; unset ( $ hook ) ; } }
docstring: Remove the provided Callable from the provided Hook.
  
  @param string   $command  Hook to remove callable from
  @param callable $callable The callable to be removed
  
  @return void
docstring_tokens: Remove the provided Callable from the provided Hook .