Skip to content

Commit ae441eb

Browse files
committed
Fix DummyDriver
Conflict due to merge of #68
1 parent 5a82cd9 commit ae441eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/DummyDriver.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
class DummyDriver implements \Interop\Async\Loop\Driver
66
{
7+
use \Interop\Async\Loop\Registry;
8+
79
public $defers;
810
public $handler;
911
public static $id = "a";
@@ -12,7 +14,7 @@ public function run() {
1214
while (list($defer, $data) = array_shift($this->defers)) {
1315
try {
1416
$defer(self::$id++, $data);
15-
} catch (Exception $e) {
17+
} catch (\Exception $e) {
1618
if ($handler = $this->handler) {
1719
$handler($e);
1820
} else {

0 commit comments

Comments
 (0)