Skip to content

Commit 0eb32da

Browse files
Adam Roses Wightejegg
authored andcommitted
Fix typo in Stomp backend
Change-Id: If700c85c37c925442f415f515d0f4040b2ca0ad5
1 parent e35c23e commit 0eb32da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/PHPQueue/Backend/Stomp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
use FuseSource\Stomp\Stomp as FuseStomp;
55

6+
use BadMethodCallException;
67
use PHPQueue\Exception\BackendException;
78
use PHPQueue\Exception\JobNotFoundException;
89
use PHPQueue\Interfaces\FifoQueueStore;
@@ -142,6 +143,6 @@ protected function readFrame($properties = null)
142143

143144
public function clear($key=null)
144145
{
145-
throw new Exception('Not implemented.');
146+
throw new BadMethodCallException('Not implemented.');
146147
}
147148
}

0 commit comments

Comments
 (0)