Skip to content

Commit ee11da1

Browse files
Fix return value
1 parent f1571a6 commit ee11da1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Provider/FileProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class FileProvider extends AbstractProvider
1616

1717
public function __construct($name, array $options, $client, Cache $cache, Logger $logger) {
1818
$this->name = $name;
19-
/** @var md5 only contain numeric and A to F, so it is file system safe */
19+
/* md5 only contain numeric and A to F, so it is file system safe */
2020
$this->queuePath = $options['path'].DIRECTORY_SEPARATOR.str_replace('-', '', hash('md5', $name));
2121
$this->options = $options;
2222
$this->cache = $cache;

src/Provider/IronMqProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class IronMqProvider extends AbstractProvider
4646
/**
4747
* IronMQ Queue
4848
*
49-
* @var stdObject
49+
* @var object
5050
*/
5151
private $queue;
5252

@@ -209,7 +209,7 @@ public function receive(array $options = [])
209209
public function delete($id)
210210
{
211211
try {
212-
$result = $this->ironmq->deleteMessage($this->getNameWithPrefix(), $id);
212+
$this->ironmq->deleteMessage($this->getNameWithPrefix(), $id);
213213
$this->log(200, "Message deleted.", ['message_id' => $id]);
214214
} catch ( \Exception $e) {
215215
if (false !== strpos($e->getMessage(), "Queue not found")) {

0 commit comments

Comments
 (0)