original_string: public function retriesLeft($key, $maxAttempts)
      {
          $attempts = $this->attempts($key);
  
          return ($attempts === 0) ? $maxAttempts : $maxAttempts - $attempts + 1;
      }
code: public function retriesLeft($key, $maxAttempts)
      {
          $attempts = $this->attempts($key);
  
          return ($attempts === 0) ? $maxAttempts : $maxAttempts - $attempts + 1;
      }
code_tokens: public function retriesLeft ( $ key , $ maxAttempts ) { $ attempts = $ this -> attempts ( $ key ) ; return ( $ attempts === 0 ) ? $ maxAttempts : $ maxAttempts - $ attempts + 1 ; }
docstring: Get the number of retries left for the given key.
  
  @param  string  $key
  @param  int  $maxAttempts
  @return int
docstring_tokens: Get the number of retries left for the given key .