Skip to content

Commit 9ddfc17

Browse files
committed
Get rid of erebot/callable-wrapper
1 parent 0dc03cb commit 9ddfc17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Math.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function reload($flags)
6868
}
6969

7070
$this->handler = new \Erebot\EventHandler(
71-
\Erebot\CallableWrapper::wrap(array($this, 'handleMath')),
71+
array($this, 'handleMath'),
7272
new \Erebot\Event\Match\All(
7373
new \Erebot\Event\Match\Type(
7474
'\\Erebot\\Interfaces\\Event\\Base\\TextMessage'

0 commit comments

Comments
 (0)