code: public function increase()
      {
          $this->retries++;
  
          if ($this->retries > $this->maxRetries) {
              throw new MaxRetriesExceededException(
                  sprintf(
                      'Max allowed retries exceeded. Allowed: %s. Tried: %s.',
                      $this->maxRetries,
                      $this->retries
                  )
              );
          }
  
          return $this;
      }
docs: Increases the retry counter by one.
  
  @return $this