original_string: public function release(QueueItem $item)
      {
          $this->client->changeMessageVisibility([
              'QueueUrl' => $this->url,
              'ReceiptHandle' => $item->getReceipt(),
              'VisibilityTimeout' => $this->visibilityTimeout * ($item->getAttempts() + 1),
          ]);
      }
code: public function release(QueueItem $item)
      {
          $this->client->changeMessageVisibility([
              'QueueUrl' => $this->url,
              'ReceiptHandle' => $item->getReceipt(),
              'VisibilityTimeout' => $this->visibilityTimeout * ($item->getAttempts() + 1),
          ]);
      }
code_tokens: public function release ( QueueItem $ item ) { $ this -> client -> changeMessageVisibility ( [ 'QueueUrl' => $ this -> url , 'ReceiptHandle' => $ item -> getReceipt ( ) , 'VisibilityTimeout' => $ this -> visibilityTimeout * ( $ item -> getAttempts ( ) + 1 ) , ] ) ; }
docstring: This will happen when an error happens, we release the item back into the queue.
docstring_tokens: This will happen when an error happens we release the item back into the queue .