original_string: public function commit(QueueItem $item)
      {
          $this->client->deleteMessage([
              'QueueUrl' => $this->url,
              'ReceiptHandle' => $item->getReceipt(),
          ]);
      }
code: public function commit(QueueItem $item)
      {
          $this->client->deleteMessage([
              'QueueUrl' => $this->url,
              'ReceiptHandle' => $item->getReceipt(),
          ]);
      }
code_tokens: public function commit ( QueueItem $ item ) { $ this -> client -> deleteMessage ( [ 'QueueUrl' => $ this -> url , 'ReceiptHandle' => $ item -> getReceipt ( ) , ] ) ; }
docstring: Commits to removing item from queue, marks item as done and processed.
docstring_tokens: Commits to removing item from queue marks item as done and processed .